joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4109fa
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x100c
call fcn.004304a0
mov eax, dword [0x5370e4]
xor eax, esp
mov dword [esp + 0x1004], eax
push ebx
push ebp
push esi
mov esi, ecx
cmp dword [esi + 0x64], 0
push edi
jne 0x410a1a
push 0x38
push 1
call fcn.0042a153
add esp, 8
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], 0x40fda0
mov ebx, dword [esi + 0x64]
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x10]
xor ecx, ecx
cmp edx, 1
jne 0x410add
mov edx, dword [esi + 0x3c]
cmp edx, 0x1000
jae 0x410a43
mov ecx, 0x1000
sub ecx, edx
test eax, eax
jbe 0x410a4d
cmp ecx, eax
jbe 0x410a4d
mov ecx, eax
test ecx, ecx
je 0x410b91
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0xc]
jg 0x410a9c
jl 0x410a67
mov edx, dword [ebx + 0x10]
cmp edx, dword [ebx + 8]
jae 0x410a9c
mov eax, dword [ebx]
push eax
push ecx
lea ecx, [esp + 0x18]
push 1
push ecx
call fcn.0042c447
mov ebp, eax
add esp, 0x10
test ebp, ebp
jbe 0x410a9c
lea edx, [esp + 0x10]
push ebp
push edx
mov edi, esi
call fcn.0040e260
add esp, 8
add dword [ebx + 0x10], ebp
adc dword [ebx + 0x14], 0
jmp 0x410b91
cmp dword [ebx + 0x18], 0
jne 0x410aac
or dword [esi + 0x80], 0x400
mov eax, dword [ebx]
test eax, eax
je 0x410b68
push eax
call fcn.0042d569
add esp, 4
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
jmp 0x410b91
cmp edx, 2
jne 0x410b83
test eax, eax
ja 0x410aee
xor eax, eax
jmp 0x410af7
mov ecx, dword [esi + 0x30]
cmp eax, ecx
jb 0x410af7
mov eax, ecx
mov ecx, dword [ebx]
mov edx, dword [esi + 0x2c]
push ecx
push eax
push 1
push edx
call fcn.0042c826
mov edi, eax
add esp, 0x10
test edi, edi
jbe 0x410b35
mov eax, dword [esi + 0x30]
cmp edi, eax
ja 0x410b2c
mov ecx, dword [esi + 0x2c]
sub eax, edi
push eax
lea eax, [ecx + edi]
push eax
push ecx
call fcn.0042b010
add esp, 0xc
sub dword [esi + 0x30], edi
add dword [ebx + 0x10], edi
adc dword [ebx + 0x14], 0
test edi, edi
je 0x410b49
mov ecx, dword [ebx + 0x14]
cmp ecx, dword [ebx + 0xc]
jl 0x410b91
jg 0x410b49
mov edx, dword [ebx + 0x10]
cmp edx, dword [ebx + 8]
jb 0x410b91
cmp dword [ebx + 0x18], 0
jne 0x410b59
or dword [esi + 0x80], 0x400
mov eax, dword [ebx]
test eax, eax
je 0x410b68
push eax
call fcn.0042d569
add esp, 4
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
jmp 0x410b91
mov ebx, dword [ebx + 0x20]
test ebx, ebx
je 0x410b91
mov edx, ebx
call fcn.0040e8e0
mov ecx, dword [esp + 0x1014]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00428ddf
add esp, 0x100c
ret
Function at 0x419400
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f78f9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push edi
mov eax, dword [0x5370e4]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
mov edi, 1
mov dword [esp + 0x3c], edi
push ebp
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebp
push 0x5255b3
mov ecx, esi
mov byte [esi + 4], 0
call fcn.00402130
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], edi
jae 0x419467
lea eax, [esp + 0x48]
push 0x52c0d0
push eax
call fcn.0042c190
mov ebx, eax
add esp, 8
cmp ebx, ebp
je 0x419518
push 2
push ebp
push ebx
call fcn.0042d363
push ebx
call fcn.0042dc7e
push ebp
push ebp
push ebx
mov edi, eax
call fcn.0042d363
push edi
call fcn.0041ef50
mov ebp, eax
add esp, 0x20
test ebp, ebp
je 0x41950f
push ebx
push edi
push 1
push ebp
call fcn.0042c447
add esp, 0x10
cmp edi, eax
jne 0x419506
push edi
push ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.00402130
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov byte [esp + 0x48], 2
call fcn.00401e70
mov byte [esp + 0x3c], 1
cmp dword [esp + 0x30], 0x10
jb 0x419506
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0041ef45
add esp, 4
push ebp
call fcn.0041ef45
add esp, 4
push ebx
call fcn.0042d569
add esp, 4
cmp dword [esp + 0x5c], 0x10
jb 0x41952c
mov edx, dword [esp + 0x48]
push edx
call fcn.0041ef45
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x41ab00
Capabilities:
Hash data with md5

Disassembly:
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x41ab10
pop esi
lea eax, [ebx + 1]
pop ebx
ret
push 0x40
push ebx
push esi
mov dword [esi + 0x48], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov byte [esi + 0x9c], bl
call fcn.0042fdd0
push 0x40
push ebx
add esi, 0x5c
push esi
call fcn.0042fdd0
add esp, 0x18
pop esi
xor eax, eax
pop ebx
ret

Function at 0x41b560
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, eax
test esi, esi
jne 0x41b56c
lea eax, [esi + 1]
pop esi
ret
push 0x40
lea eax, [esi + 0x2c]
push 0
push eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0x6a09e667
mov dword [esi + 0x10], 0xbb67ae85
mov dword [esi + 0x14], 0x3c6ef372
mov dword [esi + 0x18], 0xa54ff53a
mov dword [esi + 0x1c], 0x510e527f
mov dword [esi + 0x20], 0x9b05688c
mov dword [esi + 0x24], 0x1f83d9ab
mov dword [esi + 0x28], 0x5be0cd19
mov byte [esi + 0xac], 0
call fcn.0042fdd0
push 0x40
push 0
add esi, 0x6c
push esi
call fcn.0042fdd0
add esp, 0x18
xor eax, eax
pop esi
ret
Function at 0x428ddf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5370e4]
jne 0x428de9
repz ret
jmp fcn.004304cb

Function at 0x43f1ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00433584
and dword [ebp - 4], 0
cmp dword [0x547c04], 0
mov ebx, eax
jne 0x43f25c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43f30d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4fbc30
push edi
call esi
test eax, eax
je 0x43f30d
push eax
call fcn.00433512
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x547c04], eax
call esi
push eax
call fcn.00433512
mov dword [esp], 0x4fbc0c
push edi
mov dword [0x547c08], eax
call esi
push eax
call fcn.00433512
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x547c0c], eax
call esi
push eax
call fcn.00433512
pop ecx
mov dword [0x547c14], eax
test eax, eax
je 0x43f25c
push 0x4fbbd8
push edi
call esi
push eax
call fcn.00433512
pop ecx
mov dword [0x547c10], eax
mov eax, dword [0x547c10]
cmp eax, ebx
je 0x43f2b4
cmp dword [0x547c14], ebx
je 0x43f2b4
push eax
call fcn.0043358d
push dword [0x547c14]
mov esi, eax
call fcn.0043358d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43f2b4
test edi, edi
je 0x43f2b4
call esi
test eax, eax
je 0x43f2ab
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43f2ab
test byte [ebp - 0xc], 1
jne 0x43f2b4
or dword [ebp + 0x10], 0x200000
jmp 0x43f2ed
mov eax, dword [0x547c08]
cmp eax, ebx
je 0x43f2ed
push eax
call fcn.0043358d
pop ecx
test eax, eax
je 0x43f2ed
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43f2ed
mov eax, dword [0x547c0c]
cmp eax, ebx
je 0x43f2ed
push eax
call fcn.0043358d
pop ecx
test eax, eax
je 0x43f2ed
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x547c04]
call fcn.0043358d
pop ecx
test eax, eax
je 0x43f30d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43f30f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x463d80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20
call fcn.004304a0
mov eax, dword [0x5370e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x463da5
push 0
sub ecx, edx
mov dword [ebp - 0x18], 8
push 0
lea eax, [ecx + 1]
push eax
push edi
push 8
push 0xfde9
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jg 0x463e10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3ec
jne 0x463e03
push 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jg 0x463e10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x459
jmp 0x463e8c
lea eax, [esi + esi]
call fcn.0043be00
mov eax, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push edi
push dword [ebp - 0x18]
push 0xfde9
call esi
test eax, eax
je 0x463eeb
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x463e40
push 8
sub ecx, edx
lea eax, [ebp - 0x14]
push eax
lea eax, [ecx + 1]
push eax
push ebx
push 0
push 0xfde9
call esi
test eax, eax
je 0x463eeb
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
call fcn.0042bbca
mov esi, eax
add esp, 8
test esi, esi
jne 0x463e9e
call fcn.0042bcd2
cmp dword [eax], 2
je 0x463e8e
call fcn.0042bcd2
cmp dword [eax], 9
jne 0x463eeb
push ebx
push edi
call fcn.0042c190
mov esi, eax
add esp, 8
test esi, esi
je 0x463eeb
push 0x53801c
call fcn.004634f0
mov edi, eax
add esp, 4
test edi, edi
jne 0x463ebf
push esi
call fcn.0042d569
add esp, 4
jmp 0x463f53
push 0
push edi
call fcn.00463120
push esi
push 1
push 0x6a
push edi
call fcn.00463150
add esp, 0x18
mov eax, edi
lea esp, [ebp - 0x2c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428ddf
mov esp, ebp
pop ebp
ret
push 0xa8
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.00467150
push 0x4fcd08
push ebx
push 0x4fcd0c
push edi
push str.fopen_
push 5
call fcn.00466960
add esp, 0x2c
call fcn.0042bcd2
cmp dword [eax], 2
jne 0x463f3b
push 0xab
push str..crypto_bio_bss_file.c
push 0x80
jmp 0x463f47
push 0xad
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.00467150
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x2c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428ddf
mov esp, ebp
pop ebp
ret
Function at 0x46a110
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x46a135
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
dec esi
jne 0x46a126
pop edi
movzx eax, dl
pop esi
ret

Function at 0x46a3b0
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x108
call fcn.004304a0
mov eax, dword [0x5370e4]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x46a437
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x46a437
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x114]
lea eax, [esp + 0x10]
push 0x100
push eax
call fcn.0042c655
add esp, 0x10
lea ecx, [esp + 4]
test eax, eax
push 0
push ecx
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00428ddf
add esp, 0x108
ret
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x114]
lea eax, [esp + 0x10]
push 0xff
push eax
call fcn.0042c655
add esp, 0x10
mov byte [esp + 0x107], 0
call fcn.0046a270
test eax, eax
jle 0x46a4b7
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00428ddf
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.00428ddf
add esp, 0x108
ret
Function at 0x49f190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.004304a0
mov eax, dword [0x5370e4]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
mov dword [esp + 4], eax
xor ebx, ebx
mov eax, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov dword [esp + 0x14], eax
xor esi, esi
mov dword [eax], ebx
lea eax, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x8c]
push eax
call fcn.0046f100
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.0046ef60
add esp, 0xc
test eax, eax
je 0x49f292
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0046ec40
add esp, 0xc
test eax, eax
je 0x49f292
lea eax, [esp + 0x20]
push eax
call fcn.0046eea0
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x49f2b0
push edi
call fcn.00467780
push ebx
push edi
mov dword [esp + 0x28], eax
call fcn.00485080
mov esi, eax
add esp, 0xc
test esi, esi
je 0x49f292
push esi
call fcn.0048f8f0
add esp, 4
test eax, eax
jle 0x49f292
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.00484e20
add esp, 0x18
test eax, eax
jle 0x49f292
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
push esi
call fcn.0048f810
add esp, 0x14
test eax, eax
jle 0x49f292
mov ecx, dword [esp + 0x18]
mov ebx, 1
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
push esi
call fcn.00485010
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00428ddf
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x49f2c8
cmp dword [edi], edx
je 0x49f2f2
inc eax
add ecx, 4
cmp eax, 4
jl 0x49f2b5
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.00467150
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00428ddf
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x49f326
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.00467150
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00428ddf
add esp, 0x6c
ret
push dword [edi + 0x14]
mov ecx, dword [esp + 0x1c]
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x44]
push dword [esp + 0x20]
push ecx
push dword [esi]
call eax
mov ecx, dword [esp + 0x90]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00428ddf
add esp, 0x6c
ret
Function at 0x4ace50
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.004304a0
mov eax, dword [0x5370e4]
xor eax, esp
mov dword [esp + 0x88], eax
mov edx, dword [esp + 0xa0]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], edx
test edi, edi
je 0x4aceb6
cmp edi, dword [esi]
je 0x4acead
test ebp, ebp
je 0x4acf30
test ebx, ebx
js 0x4acf30
mov eax, 1
mov dword [esi], edi
jmp 0x4acebc
mov edi, dword [esi]
test edi, edi
je 0x4acf30
test ebp, ebp
je 0x4ad04b
push edi
call fcn.0046eb30
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x4acef0
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.0046a4f0
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jge 0x4acf4b
push dword [esp + 0x10]
lea eax, [esi + 4]
push edi
push eax
call fcn.0046ece0
add esp, 0xc
test eax, eax
je 0x4acf30
push ebx
push ebp
lea ebx, [esi + 4]
push ebx
call fcn.0046ee90
add esp, 0xc
test eax, eax
je 0x4acf30
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.0046ec40
add esp, 0xc
test eax, eax
jne 0x4acf67
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00428ddf
add esp, 0x8c
ret
cmp ebx, 0x80
ja 0x4acf30
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.004360d0
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x4acf8a
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.0042fdd0
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x4acf90
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.0046ece0
add esp, 0xc
test eax, eax
je 0x4acf30
push edi
call fcn.0046eb30
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.0046ee90
add esp, 0x10
test eax, eax
je 0x4acf30
xor ecx, ecx
jmp 0x4acfe0
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x4acfe0
push dword [esp + 0x10]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.0046ece0
add esp, 0xc
test eax, eax
je 0x4acf30
push edi
call fcn.0046eb30
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.0046ee90
add esp, 0x10
test eax, eax
je 0x4acf30
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.0046ef60
add esp, 8
test eax, eax
je 0x4acf30
mov eax, 1
jmp 0x4acf32
test eax, eax
je 0x4ad029
jmp 0x4acf8e
Function at 0x4afa60
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov eax, dword [ebp + 4]
cmp eax, dword [ecx + 4]
jge 0x4afa77
mov edi, ecx
jmp 0x4afa7b
mov edi, ebp
mov ebp, ecx
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 8]
jg 0x4afa8b
mov eax, ebx
jmp 0x4afa95
push eax
push ebx
call fcn.0046aeb0
add esp, 8
test eax, eax
jne 0x4afa9d
pop edi
pop ebp
pop ebx
ret
push esi
xor esi, esi
cmp dword [ebp + 4], esi
jle 0x4afabb
mov eax, dword [edi]
mov ecx, dword [ebp]
mov edx, dword [eax + esi*4]
mov eax, dword [ebx]
xor edx, dword [ecx + esi*4]
mov dword [eax + esi*4], edx
inc esi
cmp esi, dword [ebp + 4]
jl 0x4afaa5
cmp esi, dword [edi + 4]
jge 0x4afad0
mov eax, dword [edi]
mov ecx, dword [ebx]
mov eax, dword [eax + esi*4]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [edi + 4]
jl 0x4afac0
mov ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
pop esi
test ecx, ecx
jle 0x4afaf4
mov edx, dword [ebx]
add edx, 0xfffffffc
lea edx, [edx + ecx*4]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x4afaf1
dec ecx
test ecx, ecx
jg 0x4afae3
mov dword [ebx + 4], ecx
pop edi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x4bd290
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x73b], 0x94
mov byte [ebp - 0x73a], 0x9f
mov byte [ebp - 0x739], 0x8f
mov byte [ebp - 0x738], 0x9c
mov byte [ebp - 0x737], 0x8f
mov byte [ebp - 0x736], 0x84
mov byte [ebp - 0x735], 0xbc
mov byte [ebp - 0x734], 0xfd
lea eax, [ebp - 0x744]
push eax
call fcn.004bb9ec
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004bb9a1
add esp, 0xc
mov dword [ebp - 0x704], eax
and byte [ebp - 0x6f4], 0
and byte [ebp - 0x6f3], 0
mov byte [ebp - 0x6f2], 0x43
and byte [ebp - 0x6f1], 0
mov byte [ebp - 0x6f0], 0xeb
mov byte [ebp - 0x6ef], 0xce
mov byte [ebp - 0x6ee], 0xd5
mov byte [ebp - 0x6ed], 0xc8
mov byte [ebp - 0x6ec], 0xd9
mov byte [ebp - 0x6eb], 0xfa
mov byte [ebp - 0x6ea], 0xd5
mov byte [ebp - 0x6e9], 0xd0
mov byte [ebp - 0x6e8], 0xd9
mov byte [ebp - 0x6e7], 0xbc
call fcn.004bb9dc
aas
jo 0x4bd331
test dword [esi], edx
stc
invalid
or byte [ebp - 0x6f37b], 0xff
push eax
call fcn.004bb9ec
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004bb9a1
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
push 1
pop eax
test eax, eax
je 0x4bda82
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x4bd557
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
test dword [edi - 0x76000008], ecx
mov byte [ebp - 0x770], 0x9a
invalid
invalid
xchg ecx, eax
Function at 0x76511e
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x76513e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x76512a
add dl, dl
jne 0x765149
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x76519a
xor eax, eax
add dl, dl
jne 0x765156
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x76523b
add dl, dl
jne 0x765165
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x765170
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x76517b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x765186
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x765190
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x765135
mov eax, 1
add dl, dl
jne 0x7651a8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7651b3
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x76519f
sub eax, ebx
mov ebx, 1
jne 0x7651e6
mov ecx, 1
add dl, dl
jne 0x7651cc
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7651d7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7651c3
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x765135
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x7651fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x765208
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7651f4
cmp eax, 0x7d00
jae 0x76522b
cmp eax, 0x500
jb 0x765226
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x765135
cmp eax, 0x7f
ja 0x76522e
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x765135
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x76525c
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x765135
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8