joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ef350
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x467cb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
lea esi, [ebp + 1]
push esi
mov dword [esp + 0x10], esi
call 0x50f2e9
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4ef431
mov ecx, esi
push edi
mov edx, ecx
xor eax, eax
mov edi, ebx
push 0x3e8
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call 0x511667
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
mov dword [esp + 0x2c], 0
call fcn.004edaa0
test ebp, ebp
je 0x4ef3f8
mov eax, dword [esp + 0x30]
lea esi, [ebx + ebp - 1]
sub eax, ebx
lea edi, [ebp]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x14]
call fcn.004edb40
mov ecx, dword [esp + 0x3c]
mov dl, byte [ecx + esi]
xor al, dl
dec edi
mov byte [esi], al
dec esi
test edi, edi
ja 0x4ef3da
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
mov ecx, esi
mov edx, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call 0x50f200
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
mov dword [esp + 0x28], 0xffffffff
pop edi
je 0x4ef431
push eax
call 0x50f543
add esp, 4
mov ecx, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x4ef450
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
mov eax, ecx
dec ecx
test eax, eax
je 0x4ef47c
mov edx, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x10]
lea eax, [edx + ecx]
sub esi, edx
inc ecx
mov dl, byte [esi + eax]
mov bl, byte [eax]
xor bl, dl
dec ecx
mov byte [eax], bl
dec eax
test ecx, ecx
ja 0x4ef46b
pop esi
pop ebx
ret

Function at 0x4f1d70
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x4f1d90
push 0xb7
push 0x490d04
push 0x490cf8
call fcn.004f48c0
add esp, 0xc
mov dword [esi], 0
mov dword [esi + 0x28], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0x6a09e667
mov dword [esi + 0xc], 0xbb67ae85
mov dword [esi + 0x10], 0x3c6ef372
mov dword [esi + 0x14], 0xa54ff53a
mov dword [esi + 0x18], 0x510e527f
mov dword [esi + 0x1c], 0x9b05688c
mov dword [esi + 0x20], 0x1f83d9ab
mov dword [esi + 0x24], 0x5be0cd19
pop esi
ret
Function at 0x4f5fe0
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x4f5ffd
push 0x11
push 0x4910c8
push 0x490cf8
call fcn.004f48c0
add esp, 0xc
mov dword [esi], 0
mov dword [esi + 8], 0xc1059ed8
mov dword [esi + 0x10], 0x367cd507
mov dword [esi + 0x18], 0x3070dd17
mov dword [esi + 0x20], 0xf70e5939
mov dword [esi + 0x28], 0xffc00b31
mov dword [esi + 0x30], 0x68581511
mov dword [esi + 0x38], 0x64f98fa7
mov dword [esi + 0x40], 0xbefa4fa4
mov dword [esi + 0x48], 0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0xcbbb9d5d
mov dword [esi + 0x14], 0x629a292a
mov dword [esi + 0x1c], 0x9159015a
mov dword [esi + 0x24], 0x152fecd8
mov dword [esi + 0x2c], 0x67332667
mov dword [esi + 0x34], 0x8eb44a87
mov dword [esi + 0x3c], 0xdb0c2e0d
mov dword [esi + 0x44], 0x47b5481d
pop esi
ret

Function at 0x4f7520
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x88
push ebx
push ebp
push esi
mov esi, dword [esp + 0x98]
test esi, esi
push edi
jne 0x4f7549
push 0x21
push 0x4911b4
push 0x4911a4
call fcn.004f48c0
add esp, 0xc
mov eax, dword [esp + 0xa4]
test eax, eax
jne 0x4f7568
push 0x22
push 0x4911b4
push 0x490dc8
call fcn.004f48c0
add esp, 0xc
mov edi, dword [esp + 0xa0]
push edi
call fcn.004f4c20
add esp, 4
test eax, eax
jne 0x4f768f
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x4f759b
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x88
ret
mov ebx, edi
mov dword [esi + 0xd0], edi
shl ebx, 5
mov ecx, dword [ebx + 0x4b1298]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x4b129c]
cmp eax, ecx
jbe 0x4f760b
lea edx, [esp + 0x14]
lea ebp, [esi + 0x1a8]
push edx
push ebp
push eax
mov eax, dword [esp + 0xb0]
push eax
push edi
mov dword [esp + 0x28], 0x80
call fcn.004fd010
add esp, 0x14
test eax, eax
jne 0x4f768f
mov eax, dword [ebx + 0x4b129c]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jae 0x4f7655
sub eax, ecx
lea ecx, [ecx + esi + 0x1a8]
push eax
push ecx
call fcn.004f1d30
add esp, 8
jmp 0x4f7655
mov ecx, eax
lea ebp, [esi + 0x1a8]
mov esi, dword [esp + 0xa4]
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x4b129c]
cmp eax, ecx
jae 0x4f764e
sub ecx, eax
push ecx
mov ecx, dword [esp + 0xa0]
lea edx, [ecx + eax + 0x1a8]
push edx
call fcn.004f1d30
add esp, 8
mov esi, dword [esp + 0x9c]
mov edi, dword [ebx + 0x4b129c]
xor eax, eax
test edi, edi
jbe 0x4f7670
mov cl, byte [eax + ebp]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, edi
jb 0x4f7661
push esi
call dword [ebx + 0x4b12a0]
mov edx, dword [ebx + 0x4b129c]
lea eax, [esp + 0x1c]
push edx
push eax
push esi
call dword [ebx + 0x4b12a4]
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
Function at 0x4f7710
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x100
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x114]
test edi, edi
jne 0x4f7739
push 0x5f
push 0x4911b4
push 0x4911a4
call fcn.004f48c0
add esp, 0xc
mov ebx, dword [esp + 0x118]
test ebx, ebx
jne 0x4f7758
push 0x60
push 0x4911b4
push 0x491200
call fcn.004f48c0
add esp, 0xc
mov esi, dword [edi + 0xd0]
push esi
call fcn.004f4c20
add esp, 4
test eax, eax
jne 0x4f780c
lea eax, [esp + 0x90]
shl esi, 5
push eax
push edi
mov ebp, dword [esi + 0x4b1298]
call dword [esi + 0x4b12a8]
add esp, 8
test eax, eax
jne 0x4f780c
mov ecx, dword [esi + 0x4b129c]
test ecx, ecx
jbe 0x4f77ab
mov dl, byte [edi + eax + 0x1a8]
xor dl, 0x5c
mov byte [esp + eax + 0x10], dl
inc eax
cmp eax, ecx
jb 0x4f7798
push edi
call dword [esi + 0x4b12a0]
mov eax, dword [esi + 0x4b129c]
lea ecx, [esp + 0x14]
push eax
push ecx
push edi
call dword [esi + 0x4b12a4]
lea edx, [esp + 0xa0]
push ebp
push edx
push edi
call dword [esi + 0x4b12a4]
lea eax, [esp + 0x2c]
push eax
push edi
call dword [esi + 0x4b12a8]
mov edi, dword [esp + 0x140]
add esp, 0x24
xor eax, eax
test ebp, ebp
jbe 0x4f7808
lea esi, [esp + 0x10]
sub esi, ebx
cmp eax, dword [edi]
jae 0x4f7808
lea ecx, [eax + ebx]
inc eax
cmp eax, ebp
mov dl, byte [esi + ecx]
mov byte [ecx], dl
jb 0x4f77f7
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret
Function at 0x5037b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x5037e0
push esi
call fcn.00506e00
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x5037d9
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x503863
mov eax, dword [esi + 0x18c]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x50384f
mov eax, dword [esi + 8]
test eax, eax
je 0x503804
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x18c]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x50384b
cmp eax, 2
je 0x50384f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5037f7
cmp eax, 3
je 0x50382a
cmp eax, 1
jne 0x5037f7
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x5037f7
mov edx, dword [esi + 0x118]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x5037f7
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.00503890
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x503883
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x12
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00503890
add esp, 4
pop esi
ret
Function at 0x401290
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x452b2b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x469424]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x469424]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xac]
xor ebx, ebx
mov esi, vtable.CBaseFile.0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0xa4], ebx
cmp dword [ebp + 0x18], 0x10
jb 0x4012f7
mov eax, dword [ebp + 4]
jmp 0x4012fa
lea eax, [ebp + 4]
push 0x11
push eax
lea ecx, [esp + 0x24]
call fcn.0040e650
cmp al, bl
mov byte [esp + 0x1b], al
jne 0x40132a
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov dword [esp + 0x1c], esi
je 0x401323
push eax
call fcn.0043b747
add esp, 4
xor al, al
jmp 0x40145e
push 0x2d000
call fcn.0041edd3
add esp, 4
cmp byte [esp + 0x20], bl
mov edi, eax
mov eax, dword [esp + 0x24]
je 0x40136d
cmp eax, ebx
je 0x40136d
push eax
push 0x2d000
push 1
push edi
call fcn.0043b19b
mov esi, eax
mov eax, dword [esp + 0x34]
push eax
call fcn.0043c081
add esp, 0x14
test eax, eax
je 0x40136f
or esi, 0xffffffff
jmp 0x40136f
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x90], bl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
jle 0x4013e9
push edi
mov eax, esi
lea ecx, [esp + 0x2c]
call fcn.0040f7f0
cmp esi, 0x2d000
jl 0x4013e9
cmp byte [esp + 0x20], bl
je 0x4013e9
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x401402
push eax
push 0x2d000
push 1
push edi
call fcn.0043b19b
mov ecx, dword [esp + 0x34]
push ecx
mov esi, eax
call fcn.0043c081
add esp, 0x14
test eax, eax
jne 0x4013e9
cmp esi, ebx
jg 0x4013a2
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x401402
push eax
call fcn.0043b747
add esp, 4
test eax, eax
jne 0x401406
mov dword [esp + 0x24], ebx
mov byte [esp + 0x20], bl
push edi
call fcn.0041edce
add esp, 4
cmp byte [esp + 0x90], bl
jne 0x401429
lea esi, [esp + 0x28]
call fcn.0040f890
mov byte [esp + 0x90], 1
push 0x10
lea edx, [esp + 0x84]
push edx
push 0x10
add ebp, 0x1c
push ebp
call fcn.0043a540
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp eax, ebx
mov dword [esp + 0x1c], vtable.CBaseFile.0
je 0x40145a
push eax
call fcn.0043b747
add esp, 4
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00439d55
add esp, 0x94
ret 4
Function at 0x402230
Capabilities:
Acquire debug privileges
Create process on windows

Disassembly:
sub esp, 0x78
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push str.WTSGetActiveConsoleSessionId
push str.Kernel32.dll
xor edi, edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call dword [0x4552f4]
push eax
call dword [0x45530c]
cmp eax, ebp
je 0x402421
call eax
mov esi, eax
push 0x44
lea eax, [esp + 0x44]
push ebp
push eax
mov dword [esp + 0x28], esi
mov ebx, 0x30
call fcn.004401b0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push esi
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x50], str.winsta0default
mov dword [esp + 0x28], ebp
call fcn.00450baa
test eax, eax
mov esi, dword [0x455328]
jne 0x4022cb
call esi
mov edx, dword [esp + 0x1c]
push edx
mov edi, eax
call fcn.00402100
add esp, 4
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x4023ea
xor edi, edi
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push 4
lea ecx, [esp + 0x2c]
push ecx
push 0x13
push edx
call dword [0x45503c]
test eax, eax
je 0x4022f5
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
jmp 0x40238f
lea ecx, [esp + 0x28]
push ecx
push str.SeDebugPrivilege
push ebp
call dword [0x455034]
test eax, eax
je 0x4023e6
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push ecx
push 1
push 1
push ebp
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x24]
push 0x2000000
push edx
mov dword [esp + 0x48], 1
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 2
call dword [0x455030]
test eax, eax
je 0x4023e6
mov ecx, dword [esp + 0x10]
push 4
lea eax, [esp + 0x20]
push eax
push 0xc
push ecx
call dword [0x455038]
test eax, eax
jne 0x402376
call esi
mov edi, eax
cmp edi, 0x522
jne 0x4023ea
xor edi, edi
mov eax, dword [esp + 0x10]
push ebp
push ebp
push 0x10
lea edx, [esp + 0x3c]
push edx
push ebp
push eax
call dword [0x45502c]
test eax, eax
je 0x4023e6
mov ecx, dword [esp + 0x10]
push 1
push ecx
lea edx, [esp + 0x20]
push edx
call dword [0x455590]
test eax, eax
je 0x4023ac
mov ebx, 0x430
jmp 0x4023b0
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x94]
push ebp
push edx
mov edx, dword [esp + 0x20]
push ebx
push ebp
push ebp
push ebp
push eax
push ecx
push edx
call dword [0x455020]
test eax, eax
jne 0x4023ea
call esi
mov edi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebp
mov esi, dword [0x4552ec]
je 0x4023fb
push eax
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x402406
push eax
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x402415
push eax
call dword [0x45558c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 0xc
call dword [0x455328]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 0xc
Function at 0x402440
Capabilities:
Acquire debug privileges
Create process on windows

Disassembly:
sub esp, 0x78
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push str.WTSGetActiveConsoleSessionId
push str.Kernel32.dll
xor edi, edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call dword [0x4552f4]
push eax
call dword [0x45530c]
cmp eax, ebp
je 0x40263e
call eax
mov esi, eax
push 0x44
lea eax, [esp + 0x44]
push ebp
push eax
mov dword [esp + 0x28], esi
mov ebx, 0x30
call fcn.004401b0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push esi
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x50], str.winsta0default
mov dword [esp + 0x74], 1
mov word [esp + 0x78], bp
mov dword [esp + 0x28], ebp
call fcn.00450baa
test eax, eax
mov esi, dword [0x455328]
jne 0x4024e8
call esi
mov edx, dword [esp + 0x1c]
push edx
mov edi, eax
call fcn.00402100
add esp, 4
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x402607
xor edi, edi
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push 4
lea ecx, [esp + 0x2c]
push ecx
push 0x13
push edx
call dword [0x45503c]
test eax, eax
je 0x402512
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
jmp 0x4025ac
lea ecx, [esp + 0x28]
push ecx
push str.SeDebugPrivilege
push ebp
call dword [0x455034]
test eax, eax
je 0x402603
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push ecx
push 1
push 1
push ebp
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x24]
push 0x2000000
push edx
mov dword [esp + 0x48], 1
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 2
call dword [0x455030]
test eax, eax
je 0x402603
mov ecx, dword [esp + 0x10]
push 4
lea eax, [esp + 0x20]
push eax
push 0xc
push ecx
call dword [0x455038]
test eax, eax
jne 0x402593
call esi
mov edi, eax
cmp edi, 0x522
jne 0x402607
xor edi, edi
mov eax, dword [esp + 0x10]
push ebp
push ebp
push 0x10
lea edx, [esp + 0x3c]
push edx
push ebp
push eax
call dword [0x45502c]
test eax, eax
je 0x402603
mov ecx, dword [esp + 0x10]
push 1
push ecx
lea edx, [esp + 0x20]
push edx
call dword [0x455590]
test eax, eax
je 0x4025c9
mov ebx, 0x430
jmp 0x4025cd
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x94]
push ebp
push edx
mov edx, dword [esp + 0x20]
push ebx
push ebp
push ebp
push ebp
push eax
push ecx
push edx
call dword [0x455020]
test eax, eax
jne 0x402607
call esi
mov edi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebp
mov esi, dword [0x4552ec]
je 0x402618
push eax
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x402623
push eax
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x402632
push eax
call dword [0x45558c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 0xc
call dword [0x455328]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 0xc
Function at 0x405070
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 0x45abc0
push eax
call fcn.0043aedb
mov esi, eax
add esp, 8
test esi, esi
je 0x4050c1
push 2
push 0
push esi
call fcn.0043b64f
add esp, 0xc
test eax, eax
push esi
jne 0x4050b9
call fcn.0043b55a
add esp, 4
push 0
push 0
push esi
mov edi, eax
call fcn.0043b64f
add esp, 0xc
test eax, eax
je 0x4050cd
push esi
call fcn.0043b747
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push edi
call fcn.0041edd3
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x18], ebx
push esi
je 0x4050b9
push edi
push 1
push ebx
call fcn.0043b19b
push esi
mov ebp, eax
call fcn.0043b747
add esp, 0x14
cmp ebp, edi
je 0x40510e
push ebx
call fcn.0041edce
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov esi, ebp
mov ecx, ebx
call fcn.0040f770
cmp ebp, 0x5c
jbe 0x4050f9
mov esi, dword [esp + 0x24]
push 0x5c
push ebx
push 0x5c
push esi
call fcn.0043a540
add esp, 0x10
mov edi, 0x5c
call fcn.004055c0
lea ecx, [ebp - 0x5c]
cmp ecx, 0x410
mov byte [esp + 0x17], 1
jb 0x4051cc
jmp 0x405154
mov ebx, dword [esp + 0x18]
push 0x410
call fcn.0041eda3
add esp, 4
test eax, eax
je 0x40516e
mov esi, eax
call fcn.00405000
jmp 0x405170
xor eax, eax
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4051be
push 0x410
lea edx, [edi + ebx]
push edx
push 0x410
push eax
call fcn.0043a540
mov esi, dword [esp + 0x34]
add esp, 0x10
add esi, 0x5c
lea ebx, [esp + 0x1c]
call fcn.00405680
add edi, 0x410
mov eax, ebp
sub eax, edi
cmp eax, 0x410
jae 0x405150
mov al, byte [esp + 0x17]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov esi, dword [esp + 0x24]
mov byte [esp + 0x17], 0
call fcn.004055c0
mov al, byte [esp + 0x17]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x405390
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
mov edi, esi
call fcn.004054d0
test al, al
jne 0x4053a9
pop edi
pop esi
pop ecx
ret 8
mov ecx, dword [esi + 0x60]
test ecx, ecx
jne 0x4053b6
mov dword [esp + 8], ecx
jmp 0x4053c2
mov eax, dword [esi + 0x64]
sub eax, ecx
sar eax, 2
mov dword [esp + 8], eax
push ebx
mov ebx, dword [esp + 0xc]
imul ebx, ebx, 0x410
add ebx, 0x5c
push ebx
call fcn.0041edd3
mov edi, eax
add esp, 4
test edi, edi
je 0x405496
push ebp
push 0x5c
push esi
push ebx
push edi
call fcn.0043a540
xor esi, esi
add esp, 0x10
cmp dword [esp + 0x10], esi
mov ebp, 0x5c
jbe 0x40544c
mov edi, edi
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x60]
test edx, edx
je 0x405417
mov eax, dword [ecx + 0x64]
sub eax, edx
sar eax, 2
cmp esi, eax
jb 0x405420
call fcn.0043ae07
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x60]
mov ecx, dword [eax + esi*4]
push 0x410
push ecx
mov edx, ebx
sub edx, ebp
push edx
lea eax, [edi + ebp]
push eax
call fcn.0043a540
add esi, 1
add esp, 0x10
add ebp, 0x410
cmp esi, dword [esp + 0x10]
jb 0x405400
xor eax, eax
test ebx, ebx
pop ebp
jle 0x405475
mov ecx, eax
and ecx, 0x800003ff
jns 0x405465
dec ecx
or ecx, 0xfffffc00
inc ecx
mov dl, byte [ecx + 0x46ad60]
xor byte [eax + edi], dl
add eax, 1
cmp eax, ebx
jl 0x405453
mov eax, dword [esp + 0x18]
push 0x45abc4
push eax
call fcn.0043aedb
mov esi, eax
add esp, 8
test esi, esi
jne 0x40549f
push edi
call fcn.0041edce
add esp, 4
pop ebx
pop edi
xor al, al
pop esi
pop ecx
ret 8
push esi
push ebx
push 1
push edi
call fcn.0043b335
push esi
call fcn.0043b747
push edi
call fcn.0041edce
add esp, 0x18
pop ebx
pop edi
mov al, 1
pop esi
pop ecx
ret 8

Function at 0x4054d0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x74
mov eax, dword [0x469424]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [edi + 0x60]
test eax, eax
push ebp
je 0x4054f7
mov ebp, dword [edi + 0x64]
sub ebp, eax
sar ebp, 2
jne 0x40550b
xor al, al
pop ebp
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00439d55
add esp, 0x74
ret 4
push esi
xor esi, esi
test ebp, ebp
mov byte [esp + 0x74], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
jbe 0x405582
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x40555a
mov eax, dword [edi + 0x64]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x40555f
call fcn.0043ae07
mov ecx, dword [edi + 0x60]
mov edx, dword [ecx + esi*4]
push edx
mov eax, 0x410
lea ecx, [esp + 0x10]
call fcn.0040f7f0
add esi, 1
cmp esi, ebp
jb 0x405547
cmp byte [esp + 0x74], 0
jne 0x405590
lea esi, [esp + 0xc]
call fcn.0040f890
mov byte [esp + 0x74], 1
mov ecx, dword [esp + 8]
push 0x10
lea eax, [esp + 0x68]
push eax
push 0x10
push ecx
call fcn.0043a540
mov ecx, dword [esp + 0x88]
add esp, 0x10
pop esi
pop ebp
xor ecx, esp
mov al, 1
call fcn.00439d55
add esp, 0x74
ret 4
Function at 0x40c330
Capabilities:
Create thread

Disassembly:
mov ecx, dword [edi + 8]
push esi
call fcn.0040b940
test eax, eax
je 0x40c342
lea esi, [eax + 4]
jmp 0x40c344
xor esi, esi
test esi, esi
mov dword [edi + 4], esi
je 0x40c374
mov eax, dword [esi + 8]
push eax
call dword [0x45525c]
push esi
push 0
push edi
push 0x40c380
push 0
push 0
call fcn.0043d197
add esp, 0x18
test eax, eax
mov dword [esi + 4], eax
setne al
pop esi
ret
xor al, al
pop esi
ret