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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60917b
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x698b9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x14], 0
je 0x4df6cb
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x14]
mov eax, dword [edx]
call eax
test eax, eax
je 0x4df6cb
mov eax, 0x69
jmp 0x4df816
push 0x104
lea ecx, [ebp - 0x3c]
call fcn.00402f80
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00403d00
push 0x2f
lea ecx, [ebp - 0x3c]
call fcn.00403010
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00403090
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00403cf0
push eax
call fcn.004df830
add esp, 8
push 0xffffffffffffffff
push 8
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0056ae90
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4df75b
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402fe0
mov eax, dword [ebp - 0x48]
jmp 0x4df816
push 0x614f6c
lea ecx, [ebp - 0x3c]
call fcn.00403cf0
push eax
call fcn.005c24a0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4df7ee
push 0x5000
call fcn.005c020b
add esp, 4
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x10]
push eax
push 0x5000
push 1
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.005c2cf4
add esp, 0x10
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jbe 0x4df7ce
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0056aee0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4df7cc
jmp 0x4df7ce
jmp 0x4df790
mov edx, dword [ebp - 0x10]
push edx
call fcn.005c217c
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.005bf7fb
add esp, 4
jmp 0x4df7f5
mov dword [ebp - 0x14], 0xffffffff
mov edx, dword [ebp + 0x10]
push edx
call fcn.0056b960
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402fe0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4dfb30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], str.gotohttp_ft_temp.zip
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4dfb5f
mov edx, dword [ebp + 0xc]
sub edx, 0x14
cmp dword [ebp - 8], edx
jb 0x4dfb65
xor eax, eax
jmp 0x4dfbab
cmp dword [ebp - 8], 0
jbe 0x4dfb95
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movsx ecx, byte [eax - 1]
cmp ecx, 0x5c
je 0x4dfb95
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov byte [edx], 0x5c
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
mov byte [ecx], 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005c0af0
add esp, 8
mov eax, dword [ebp - 8]
add eax, 0x14
mov esp, ebp
pop ebp
ret

Function at 0x4e2220
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x698b9c]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0xc], 0x89
mov byte [ebp - 0xb], 0x50
mov byte [ebp - 0xa], 0x4e
mov byte [ebp - 9], 0x47
mov byte [ebp - 8], 0xd
mov byte [ebp - 7], 0xa
mov byte [ebp - 6], 0x1a
mov byte [ebp - 5], 0xa
mov eax, dword [ebp + 8]
push eax
push 1
push 8
lea ecx, [ebp - 0xc]
push ecx
call fcn.005c235a
add esp, 0x10
cmp eax, 1
jne 0x4e2270
mov eax, 1
jmp 0x4e2272
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret
Function at 0x4e2280
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x698b9c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x24], 0x49
mov byte [ebp - 0x23], 0x48
mov byte [ebp - 0x22], 0x44
mov byte [ebp - 0x21], 0x52
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x14], 0xd
mov eax, dword [ebp + 0xc]
push eax
call fcn.004e1650
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005c5252
add esp, 4
push eax
call fcn.004e1650
add esp, 4
mov dword [ebp - 0xc], eax
lea edx, [ebp - 7]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.004e1760
add esp, 8
mov byte [ebp - 8], al
mov byte [ebp - 4], 0
mov byte [ebp - 6], 0
mov byte [ebp - 5], 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004e1650
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp + 8]
push edx
push 1
push 4
lea eax, [ebp - 0x28]
push eax
call fcn.005c235a
add esp, 0x10
cmp eax, 1
jne 0x4e234d
mov ecx, dword [ebp + 8]
push ecx
push 1
push 4
lea edx, [ebp - 0x24]
push edx
call fcn.005c235a
add esp, 0x10
cmp eax, 1
jne 0x4e234d
mov eax, dword [ebp + 8]
push eax
push 1
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.005c235a
add esp, 0x10
cmp eax, 1
je 0x4e2351
xor eax, eax
jmp 0x4e2399
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.004e1840
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.004e1650
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
push ecx
push 1
push 4
lea edx, [ebp - 0x18]
push edx
call fcn.005c235a
add esp, 0x10
cmp eax, 1
je 0x4e2394
xor eax, eax
jmp 0x4e2399
mov eax, 1
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret
Function at 0x4e23b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [0x698b9c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x14], 0x50
mov byte [ebp - 0x13], 0x4c
mov byte [ebp - 0x12], 0x54
mov byte [ebp - 0x11], 0x45
mov byte [ebp - 0x10], 0
cmp dword [ebp + 0x10], 0x100
jle 0x4e23e7
xor eax, eax
jmp 0x4e2508
mov eax, dword [ebp + 0x10]
imul eax, eax, 3
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004e1650
add esp, 4
mov dword [ebp - 0x31c], eax
mov edx, dword [ebp + 8]
push edx
push 1
push 4
lea eax, [ebp - 0x31c]
push eax
call fcn.005c235a
add esp, 0x10
cmp eax, 1
jne 0x4e2437
mov ecx, dword [ebp + 8]
push ecx
push 1
push 4
lea edx, [ebp - 0x14]
push edx
call fcn.005c235a
add esp, 0x10
cmp eax, 1
je 0x4e243e
xor eax, eax
jmp 0x4e2508
mov dword [ebp - 8], 0
jmp 0x4e2450
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jge 0x4e249b
mov edx, dword [ebp - 8]
imul edx, edx, 3
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [ebp + edx - 0x316], cl
mov edx, dword [ebp - 8]
imul edx, edx, 3
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + 1]
mov byte [ebp + edx - 0x317], cl
mov edx, dword [ebp - 8]
imul edx, edx, 3
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + 2]
mov byte [ebp + edx - 0x318], cl
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
jmp 0x4e2447
mov eax, dword [ebp + 8]
push eax
push 1
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x318]
push edx
call fcn.005c235a
add esp, 0x10
cmp eax, 1
je 0x4e24bd
xor eax, eax
jmp 0x4e2508
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x318]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.004e1840
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call fcn.004e1650
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
push 1
push 4
lea edx, [ebp - 4]
push edx
call fcn.005c235a
add esp, 0x10
cmp eax, 1
je 0x4e2503
xor eax, eax
jmp 0x4e2508
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret

Function at 0x4e2520
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x698b9c]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0x49
mov byte [ebp - 0xb], 0x45
mov byte [ebp - 0xa], 0x4e
mov byte [ebp - 9], 0x44
mov byte [ebp - 8], 0xae
mov byte [ebp - 7], 0x42
mov byte [ebp - 6], 0x60
mov byte [ebp - 5], 0x82
mov eax, dword [ebp + 8]
push eax
push 1
push 0xc
lea ecx, [ebp - 0x10]
push ecx
call fcn.005c235a
add esp, 0x10
cmp eax, 1
je 0x4e257d
xor eax, eax
jmp 0x4e2582
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret
Function at 0x4ea350
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x24], 0xffffffff
jne 0x4ea367
or eax, 0xffffffff
jmp 0x4ea3c4
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
push ecx
call sub.WS2_32.dll_send
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4ea3a2
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x4ea3a0
push 1
mov ecx, dword [ebp - 8]
call fcn.004e9cf0
xor eax, eax
jmp 0x4ea3c4
jmp 0x4ea3c1
cmp dword [ebp - 4], 0
jne 0x4ea3af
or eax, 0xffffffff
jmp 0x4ea3c4
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jge 0x4ea3c1
push 1
mov ecx, dword [ebp - 8]
call fcn.004e9cf0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x4ea3d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x24], 0xffffffff
jne 0x4ea3e7
or eax, 0xffffffff
jmp 0x4ea444
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
push ecx
call sub.WS2_32.dll_recv
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4ea422
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x4ea420
push 1
mov ecx, dword [ebp - 8]
call fcn.004e9cc0
xor eax, eax
jmp 0x4ea444
jmp 0x4ea441
cmp dword [ebp - 4], 0
jne 0x4ea42f
or eax, 0xffffffff
jmp 0x4ea444
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jge 0x4ea441
push 1
mov ecx, dword [ebp - 8]
call fcn.004e9cc0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x4ea540
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6093c3
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x698b9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0xc], 0
je 0x4ea581
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0x615f84
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.004c5060
push 0
mov ecx, dword [ebp - 0x10]
call fcn.004c5180
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.004ead70
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.NS_Provider.2.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], vtable.NS_Provider.1.0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + edx + 4], vtable.NS_Provider.0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 4]
sub eax, 0x64
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004eac70
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004ed5a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x5c], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004eacd0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x4ea640
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6093e6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x698b9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.NS_Provider.2.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], vtable.NS_Provider.1.0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx + 4], vtable.NS_Provider.0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
sub edx, 0x64
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + eax], edx
mov dword [ebp - 4], 0
cmp dword [0x69aaa4], 1
jg 0x4ea6ce
push str.NS_Provider::NS_Provider__
push 0x55
push 0x615e58
push 1
call fcn.00401310
add esp, 0x10
mov edx, dword [0x69c18c]
cmp edx, dword [ebp - 0x10]
jne 0x4ea6e3
mov dword [0x69c18c], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x60], 0
je 0x4ea6fb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x60]
push edx
call fcn.0040b3a0
add esp, 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004ed610
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.004b4280
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x513e10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60bd07
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x698b9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 8], 0
je 0x513e51
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0x61bb78
mov ecx, dword [ebp - 0x10]
add ecx, 0x6c
call fcn.004c5060
mov ecx, dword [ebp - 0x10]
call fcn.00515920
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00515940
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.0050c880
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0050c880
mov byte [ebp - 4], 1
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.004c5180
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.GCC_Provider.3.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], vtable.GCC_Provider.2.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], vtable.GCC_Provider.1.0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + eax + 0xc], vtable.GCC_Provider.0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 4]
sub ecx, 0x60
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + edx + 8], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.004ef100
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004fb7d0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.00403ec0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x527040
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x52706f
push esi
call fcn.0052c7f0
add esp, 4
cmp byte [esi + 0x40], 0
je 0x527068
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x5270e9
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x5270d9
mov eax, dword [esi + 8]
test eax, eax
je 0x527094
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x5270d5
cmp eax, 2
je 0x5270d9
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x527085
cmp eax, 3
je 0x5270bc
cmp eax, 1
jne 0x527085
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x527085
mov edx, dword [esi + 0x11c]
add dword [eax + 8], edx
jmp 0x527085
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.00526ed0
pop esi
ret
cmp eax, 0xcc
je 0x52710b
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.00526ed0
pop esi
ret
Function at 0x546260
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1a8]
mov dword [esp + 0x18], esi
jne 0x546287
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x546293
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0x14], ecx
jle 0x5463a6
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x14], edx
jmp 0x5462d8
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov edi, dword [edx]
cdq
idiv edi
cmp dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
je 0x5462f9
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov ebp, dword [edx + ecx*4]
lea eax, [edi + 0xfe]
lea esi, [edi + edi - 2]
cdq
idiv esi
xor ebx, ebx
mov dword [esp + 0x24], ebp
xor esi, esi
mov edx, eax
cmp esi, edx
jle 0x54634f
mov ecx, ebx
lea ebp, [edi + edi - 2]
imul ecx, ecx, 0x1fe
jmp 0x546330
add ecx, 0x1fe
lea eax, [ecx + edi + 0xfe]
cdq
idiv ebp
inc ebx
mov edx, eax
cmp esi, edx
jg 0x546330
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov al, byte [esp + 0x18]
imul bl
mov byte [esi + ebp], al
inc esi
cmp esi, 0xff
jle 0x546316
cmp dword [esp + 0x10], 0
je 0x54638d
mov eax, 1
lea edx, [ebp - 1]
movzx ebx, byte [ebp]
mov byte [edx], bl
movzx ebx, byte [ebp + 0xff]
mov byte [eax + ebp + 0xff], bl
inc eax
dec edx
cmp eax, 0xff
jle 0x546370
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], 4
inc ecx
cmp ecx, dword [eax + 0x64]
mov dword [esp + 0x1c], ecx
jl 0x5462d0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x576298
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x5762bd
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x5762d5
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [ebp + esi]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x576304
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [eax + edi - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x576346
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x57641a
sub edx, 0x10000
js 0x57641a
movzx eax, word [ecx + esi - 1]
cmp eax, ebx
jne 0x57632c
mov eax, dword [esp + 4]
movzx eax, word [ecx + eax]
cmp eax, dword [esp + 0x10]
jne 0x57632c
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [eax + edi + 0x108]
lea esi, [eax + esi + 0x108]
mov eax, dword [edx + esi]
xor eax, dword [edx + edi]
jne 0x57639d
mov eax, dword [edx + esi + 4]
xor eax, dword [edx + edi + 4]
jne 0x57639a
add edx, 8
jne 0x576381
jmp 0x57640b
add edx, 4
test eax, 0xffff
jne 0x5763aa
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edx + edi]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x57640b
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x5763de
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x57632c
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x57641a
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [eax + edi - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x57632c
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x57642b
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x5a3f90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6bc
mov eax, dword [0x698b9c]
xor eax, esp
mov dword [esp + 0x6b8], eax
fld dword [esp + 0x6cc]
push ebx
mov ebx, dword [esp + 0x6c8]
push ebp
mov ebp, dword [esp + 0x6d0]
push esi
mov esi, dword [esp + 0x6cc]
mov eax, dword [esi + 0x1220]
push edi
mov edi, dword [esi + 0x11ec]
push eax
add edi, eax
mov eax, dword [esi + 0x11e4]
push eax
push edi
push ecx
fstp dword [esp]
lea ecx, [esp + 0x78]
push ebp
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebp
mov byte [esi + 0x129f], 4
call fcn.005a80b0
fstp dword [esp + 0x28]
add esp, 0x18
cmp dword [esi + 0x1218], 0
je 0x5a4159
cmp dword [esi + 0x1238], 0
jne 0x5a4159
cmp dword [esi + 0x11e4], 4
jne 0x5a4159
mov edx, dword [esi + 0x1220]
fld dword [esp + 0x6dc]
push edx
push 2
push edi
push ecx
fstp dword [esp]
lea eax, [ebp + edi*8]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.005a80b0
fsubr dword [esp + 0x28]
mov edx, dword [esi + 0x1220]
push edx
lea eax, [esp + 0x44]
fstp dword [esp + 0x2c]
push eax
push ebx
call fcn.00599b00
fld dword [0x65f49c]
fstp dword [esp + 0x38]
add esp, 0x24
mov ebx, 3
jmp 0x5a4084
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esi + 0x1220]
mov edx, dword [esp + 0x18]
push ecx
push ebx
push edx
lea eax, [esi + 0x1194]
push eax
lea eax, [esp + 0x6b8]
push eax
call fcn.005a7cc0
mov ecx, dword [esi + 0x13e4]
mov edx, dword [esi + 0x1220]
push ecx
push edx
lea eax, [esp + 0x6c4]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00599b60
mov edx, dword [esi + 0x1220]
push edx
lea eax, [edi + edi]
push eax
push ebp
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xdc]
push ecx
call fcn.005a6790
mov ebp, dword [esi + 0x1220]
mov edx, edi
sub edx, ebp
lea eax, [edi + ebp]
push edx
lea ecx, [esp + eax*4 + 0xe4]
push ecx
call fcn.005a4a30
fstp qword [esp + 0x60]
mov edx, edi
add esp, 0x40
sub edx, ebp
push edx
lea eax, [esp + ebp*4 + 0xac]
push eax
call fcn.005a4a30
fadd qword [esp + 0x28]
fld dword [esp + 0x18]
add esp, 8
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5a4137
fst dword [esp + 0x10]
mov byte [esi + 0x129f], bl
jmp 0x5a4144
fld dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x5a4153
sub ebx, 1
fstp dword [esp + 0x14]
jns 0x5a4080
jmp 0x5a4155
fstp st(0)
mov ebx, dword [esp + 0x18]
cmp byte [esi + 0x129f], 4
jne 0x5a4177
mov ecx, dword [esi + 0x1220]
push ecx
lea edx, [esp + 0x6c]
push edx
push ebx
call fcn.00599b00
add esp, 0xc
mov ecx, dword [esp + 0x6c8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005bfcb8
add esp, 0x6bc
ret