joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417770
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 8
push esi
push 0
push 0
push 0
push 1
push 0
mov esi, eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [edi], eax
jne 0x417793
xor al, al
pop esi
add esp, 8
ret
push ebp
mov ebp, 0x10
cmp dword [esi + 0x44], ebp
jb 0x4177a3
mov ecx, dword [esi + 0x30]
jmp 0x4177a6
lea ecx, [esi + 0x30]
movzx edx, word [esi + 0x48]
push 0
push 0
push 3
push 0
push 0
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [edi + 4], eax
jne 0x4177cc
pop ebp
xor al, al
pop esi
add esp, 8
ret
cmp dword [esi + 0x64], ebp
jb 0x4177d6
mov edx, dword [esi + 0x50]
jmp 0x4177d9
lea edx, [esi + 0x50]
cmp dword [esi + 0x28], ebp
jb 0x4177e3
mov ecx, dword [esi + 0x14]
jmp 0x4177e6
lea ecx, [esi + 0x14]
push ebx
mov ebx, dword [esi + 0xc]
push 0
push ebx
push 0
push 0
push str.HTTP_1.0
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
test eax, eax
mov dword [edi + 8], eax
je 0x41788e
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
push esi
push 2
push eax
call ebx
test eax, eax
je 0x41788e
mov ecx, dword [edi + 8]
push 4
lea eax, [esi + 4]
push eax
push 5
push ecx
call ebx
test eax, eax
je 0x41788e
mov eax, dword [edi + 8]
push 4
lea edx, [esi + 8]
push edx
push 6
push eax
call ebx
test eax, eax
je 0x41788e
test dword [esi + 0xc], 0x800000
je 0x417897
mov eax, dword [edi + 8]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x1f
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 4
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
test eax, eax
je 0x41788e
mov edx, dword [edi + 8]
or dword [esp + 0xc], 0x3380
push 4
lea ecx, [esp + 0x10]
push ecx
push 0x1f
push edx
call ebx
test eax, eax
jne 0x417897
pop ebx
pop ebp
xor al, al
pop esi
add esp, 8
ret
cmp dword [esi + 0x9c], ebp
mov edx, dword [esi + 0x98]
jb 0x4178ad
mov ecx, dword [esi + 0x88]
jmp 0x4178b3
lea ecx, [esi + 0x88]
cmp dword [esi + 0x80], ebp
mov eax, dword [esi + 0x7c]
jb 0x4178c3
mov esi, dword [esi + 0x6c]
jmp 0x4178c6
add esi, 0x6c
push edx
push ecx
push eax
mov eax, dword [edi + 8]
push esi
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
pop ebx
test eax, eax
pop ebp
setne al
pop esi
add esp, 8
ret
Function at 0x417a20
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 0x408
mov eax, dword [0x478354]
xor eax, esp
mov dword [esp + 0x404], eax
push ebp
mov ebp, dword [esp + 0x410]
push edi
mov edi, dword [esi + 8]
test edi, edi
jne 0x417a48
xor al, al
jmp 0x417ab5
push 0x3ff
lea eax, [esp + 0x11]
push 0
push eax
mov byte [esp + 0x18], 0
call fcn.0043eb30
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x400
lea edx, [esp + 0x14]
push edx
push edi
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [esp + 0x18], 0
call edi
test eax, eax
je 0x417ab3
mov eax, dword [esp + 8]
test eax, eax
je 0x417ab3
push eax
lea eax, [esp + 0x10]
push eax
mov eax, ebp
call fcn.00408660
mov eax, dword [esi + 8]
lea ecx, [esp + 8]
push ecx
push 0x400
lea edx, [esp + 0x14]
push edx
push eax
call edi
test eax, eax
jne 0x417a85
mov al, 1
mov ecx, dword [esp + 0x40c]
pop edi
pop ebp
xor ecx, esp
call fcn.0043c23a
add esp, 0x408
ret 4

Function at 0x418360
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x45bf3f
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x478354]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [esp + 0x98]
xor ebx, ebx
mov dword [esp + 0x10], ebx
lea ebp, [edi + 4]
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x14], edi
mov byte [ebp], bl
mov dword [esp + 0x90], ebx
push eax
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 1
mov byte [esp + 0x84], bl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
call fcn.00417ad0
cmp byte [esp + 0x80], bl
jne 0x41841e
lea esi, [esp + 0x18]
mov byte [esp + 0x80], 1
call fcn.00417b70
mov eax, dword [edi + 0x18]
mov esi, 0x10
cmp eax, esi
jb 0x41842f
mov ecx, dword [ebp]
jmp 0x418431
mov ecx, ebp
lea edx, [esp + 0x70]
cmp edx, ecx
jb 0x41846a
cmp eax, esi
jb 0x418442
mov ecx, dword [ebp]
jmp 0x418444
mov ecx, ebp
mov edx, dword [edi + 0x14]
add edx, ecx
lea ecx, [esp + 0x70]
cmp edx, ecx
jbe 0x41846a
cmp eax, esi
jb 0x418458
mov ebp, dword [ebp]
push esi
lea edx, [esp + 0x74]
sub edx, ebp
push edx
push edi
mov ecx, edi
call fcn.00406a20
jmp 0x4184a6
cmp eax, esi
jae 0x41847a
mov eax, dword [edi + 0x14]
push eax
push esi
mov ecx, edi
call fcn.00407140
mov ecx, dword [edi + 0x18]
cmp ecx, esi
jb 0x418486
mov eax, dword [ebp]
jmp 0x418488
mov eax, ebp
push esi
lea edx, [esp + 0x74]
push edx
push ecx
push eax
call fcn.0043c4d0
add esp, 0x10
cmp dword [edi + 0x18], esi
mov dword [edi + 0x14], esi
jb 0x4184a3
mov ebp, dword [ebp]
mov byte [ebp + 0x10], bl
mov eax, edi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0043c23a
add esp, 0x84
ret
Function at 0x4187d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45bee9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x478354]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push edi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
lea edi, [esi + 4]
mov byte [esp + 0x14], 0x48
mov byte [esp + 0x15], 0x3f
mov byte [esp + 0x16], 0xb6
mov byte [esp + 0x17], 0x1f
mov byte [esp + 0x18], 0xcb
mov byte [esp + 0x19], 0x20
mov byte [esp + 0x1a], 0xce
mov byte [esp + 0x1b], 0xd
mov byte [esp + 0x1c], 0x4a
mov byte [esp + 0x1d], 0xdd
mov byte [esp + 0x1e], 0x71
mov byte [esp + 0x1f], 0xa3
mov byte [esp + 0x20], 0x1e
mov byte [esp + 0x21], 0x9f
mov byte [esp + 0x22], 0x9b
mov byte [esp + 0x23], 0x88
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x10], esi
mov byte [edi], bl
mov dword [esp + 0x30], ebx
mov eax, dword [esi + 0x18]
cmp eax, 0x10
mov dword [esp + 0xc], 1
jb 0x418881
mov ecx, dword [edi]
jmp 0x418883
mov ecx, edi
lea edx, [esp + 0x14]
cmp edx, ecx
jb 0x4188bd
cmp eax, 0x10
jb 0x418894
mov ecx, dword [edi]
jmp 0x418896
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
lea ecx, [esp + 0x14]
cmp edx, ecx
jbe 0x4188bd
cmp eax, 0x10
jb 0x4188aa
mov edi, dword [edi]
push 0x10
lea edx, [esp + 0x18]
sub edx, edi
push edx
push esi
mov ecx, esi
call fcn.00406a20
jmp 0x418900
cmp eax, 0x10
jae 0x4188cf
mov eax, dword [esi + 0x14]
push eax
push 0x10
mov ecx, esi
call fcn.00407140
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x4188db
mov eax, dword [edi]
jmp 0x4188dd
mov eax, edi
push 0x10
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.0043c4d0
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0x10
jb 0x4188fd
mov edi, dword [edi]
mov byte [edi + 0x10], bl
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0043c23a
add esp, 0x28
ret
Function at 0x418920
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45bee9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x478354]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push edi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, 0xf
lea edi, [esi + 4]
mov byte [esp + 0x14], al
mov byte [esp + 0x15], 0x45
mov byte [esp + 0x16], 0xe2
mov byte [esp + 0x17], 0xfe
mov byte [esp + 0x18], 0xed
mov byte [esp + 0x19], 0x46
mov byte [esp + 0x1a], 0x97
mov byte [esp + 0x1b], 0x6c
mov byte [esp + 0x1c], 5
mov byte [esp + 0x1d], 0x3c
mov byte [esp + 0x1e], 0x8e
mov byte [esp + 0x1f], 0x9b
mov byte [esp + 0x20], 0x62
mov byte [esp + 0x21], 0x30
mov byte [esp + 0x22], 0x54
mov byte [esp + 0x23], 0xc4
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov dword [esp + 0x10], esi
mov byte [edi], bl
mov dword [esp + 0x30], ebx
mov eax, dword [esi + 0x18]
cmp eax, 0x10
mov dword [esp + 0xc], 1
jb 0x4189d1
mov ecx, dword [edi]
jmp 0x4189d3
mov ecx, edi
lea edx, [esp + 0x14]
cmp edx, ecx
jb 0x418a0d
cmp eax, 0x10
jb 0x4189e4
mov ecx, dword [edi]
jmp 0x4189e6
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
lea ecx, [esp + 0x14]
cmp edx, ecx
jbe 0x418a0d
cmp eax, 0x10
jb 0x4189fa
mov edi, dword [edi]
push 0x10
lea edx, [esp + 0x18]
sub edx, edi
push edx
push esi
mov ecx, esi
call fcn.00406a20
jmp 0x418a50
cmp eax, 0x10
jae 0x418a1f
mov eax, dword [esi + 0x14]
push eax
push 0x10
mov ecx, esi
call fcn.00407140
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x418a2b
mov eax, dword [edi]
jmp 0x418a2d
mov eax, edi
push 0x10
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.0043c4d0
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0x10
jb 0x418a4d
mov edi, dword [edi]
mov byte [edi + 0x10], bl
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0043c23a
add esp, 0x28
ret
Function at 0x418d60
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x45c51b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x478354]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push esi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [esp + 0x10]
mov dword [esp + 0xc], ebx
call fcn.00418d30
push 0x63
lea eax, [esp + 0x31]
push ebx
mov dword [esp + 0xa4], ebx
push eax
mov byte [esp + 0x38], bl
call fcn.0043eb30
mov eax, dword [esp + 0x20]
mov esi, 0x10
add esp, 0xc
cmp dword [esp + 0x28], esi
jae 0x418dd6
lea eax, [esp + 0x14]
push eax
push 0x63
lea ecx, [esp + 0x34]
push ecx
push 0x463d0b
push 0x464238
push 0x46423c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x2c]
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x418e07
sub eax, edx
push eax
lea edx, [esp + 0x30]
push edx
mov ecx, edi
call fcn.00406100
cmp dword [esp + 0x28], esi
jb 0x418e32
mov eax, dword [esp + 0x14]
push eax
call fcn.0043c992
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.0043c23a
add esp, 0x94
ret
Function at 0x41b5e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fbc6
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x478354]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
and dword [esp + 0x1c], 0xfffffe00
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0xc0], 1
mov ecx, 0xf
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], 1
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], bl
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
mov dword [esp + 0xa0], ecx
mov byte [esp + 0xa4], bl
lea edx, [esp + 0x14]
push edx
push eax
lea edi, [esp + 0x34]
mov byte [esp + 0xc8], 2
call fcn.0041e1a0
test al, al
je 0x41b7ac
cmp byte [esp + 0x1c], 7
jne 0x41b7ac
push 0x463e64
push str.open
lea eax, [esp + 0x1c]
push eax
call fcn.00427430
cmp byte [eax + 8], 5
jne 0x41b7ac
push 0x463e64
push str.open
lea ecx, [esp + 0x1c]
push ecx
call fcn.00427430
push eax
call fcn.00426c80
mov byte [esi + 0x74], al
mov esi, 0x10
cmp dword [esp + 0x9c], esi
jb 0x41b749
mov edx, dword [esp + 0x88]
push edx
call fcn.0043c992
add esp, 4
cmp dword [esp + 0x6c], esi
mov edi, 0xf
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
jb 0x41b776
mov eax, dword [esp + 0x58]
push eax
call fcn.0043c992
add esp, 4
lea esi, [esp + 0x40]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.0040c9b0
lea esi, [esp + 0x2c]
call fcn.0040c940
lea esi, [esp + 0x14]
mov dword [esp + 0xc0], 0xffffffff
call fcn.004260c0
mov al, 1
jmp 0x41b7cb
lea edi, [esp + 0x2c]
call fcn.0040ba50
lea esi, [esp + 0x14]
mov dword [esp + 0xc0], 0xffffffff
call fcn.004260c0
mov al, bl
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0043c23a
mov esp, ebp
pop ebp
ret 4
Function at 0x41b890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45f270
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x478354]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [esp + 0x9c]
and dword [esp + 0x2c], 0xfffffe00
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x90], 1
mov eax, dword [ebx + 4]
mov esi, dword [eax]
mov edi, ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
test edi, edi
mov ebp, dword [ebx + 4]
je 0x41b912
cmp edi, ebx
je 0x41b917
call fcn.0043c81d
cmp esi, ebp
je 0x41b9ab
test edi, edi
jne 0x41b928
call fcn.0043c81d
cmp esi, dword [edi + 4]
jne 0x41b932
call fcn.0043c81d
lea ecx, [esi + 0x30]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00425ef0
mov byte [esp + 0x90], 2
cmp esi, dword [edi + 4]
jne 0x41b952
call fcn.0043c81d
mov edx, dword [esi + 0x28]
cmp edx, 0x10
lea eax, [esi + 0x14]
jb 0x41b961
mov ecx, dword [eax]
jmp 0x41b963
mov ecx, eax
cmp edx, 0x10
mov esi, dword [esi + 0x24]
jb 0x41b96d
mov eax, dword [eax]
add ecx, esi
push ecx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00427430
mov ecx, eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x90], 1
call fcn.004261b0
mov esi, eax
call fcn.004260c0
lea esi, [esp + 0x18]
call fcn.00408020
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
jmp 0x41b907
mov ebx, vtable.Json::FastWriter.0
mov esi, 0xf
mov dword [esp + 0x60], ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
mov byte [esp + 0x80], 0
mov byte [esp + 0x81], 0
mov byte [esp + 0x82], 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x98], 3
call fcn.00429bd0
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
xor ebp, ebp
push ebp
push eax
mov byte [esp + 0x9c], 4
call fcn.00406a20
mov edi, 0x10
cmp dword [esp + 0x54], edi
jb 0x41ba2c
mov eax, dword [esp + 0x40]
push eax
call fcn.0043c992
add esp, 4
cmp dword [esp + 0x7c], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebp
mov byte [esp + 0x40], 0
mov dword [esp + 0x60], ebx
jb 0x41ba50
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0043c992
add esp, 4
mov dword [esp + 0x7c], esi
lea esi, [esp + 0x24]
mov dword [esp + 0x78], ebp
mov byte [esp + 0x68], 0
mov dword [esp + 0x60], vtable.Json::Writer.0
mov dword [esp + 0x90], 0xffffffff
call fcn.004260c0
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0043c23a
add esp, 0x80
ret 8
Function at 0x41c6d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x45eed2
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebp
push esi
push edi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x84]
mov eax, ebp
call fcn.0041d030
test ebp, ebp
mov edi, eax
jne 0x41c711
call fcn.0043c81d
cmp edi, dword [ebp + 4]
je 0x41c724
lea eax, [edi + 0x10]
mov edx, esi
call fcn.0041c680
test eax, eax
jge 0x41c79d
and dword [esp + 0x24], 0xfffffe00
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x1c]
push eax
push esi
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x88], 1
call fcn.0041cc50
push edi
push ebp
push eax
lea edx, [esp + 0x20]
push edx
push ebp
mov byte [esp + 0x90], 2
call fcn.0041c980
mov ebp, dword [eax]
mov edi, dword [eax + 4]
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x80], 1
call fcn.004085d0
lea esi, [esp + 0x1c]
mov dword [esp + 0x7c], 0xffffffff
call fcn.004260c0
test ebp, ebp
jne 0x41c7a6
call fcn.0043c81d
cmp edi, dword [ebp + 4]
jne 0x41c7b0
call fcn.0043c81d
lea eax, [edi + 0x30]
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x70
ret 4

Function at 0x41f680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45e818
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
and dword [esp + 0x14], 0xfffffe00
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push edi
push esi
mov dword [esp + 0x3c], 1
call fcn.0041f750
test al, al
jne 0x41f6f8
lea esi, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004260c0
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
call fcn.00420f10
mov edx, dword [eax]
lea eax, [esp + 0xc]
call fcn.00426150
call fcn.00420f10
mov ecx, dword [eax]
mov eax, dword [edi + 4]
sub eax, dword [esi + 0x44]
mov dword [ecx + 0x10], eax
call fcn.00420f10
mov ecx, dword [eax]
mov eax, dword [edi + 8]
sub eax, dword [esi + 0x44]
lea esi, [esp + 0xc]
mov dword [ecx + 0x14], eax
mov dword [esp + 0x30], 0xffffffff
call fcn.004260c0
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x42d920
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
mov esi, dword [esp + 8]
push edi
mov edi, eax
jne 0x42d931
pop edi
xor eax, eax
pop esi
ret
cmp edi, 8
not esi
jb 0x42da19
push ebp
mov ebp, edi
shr ebp, 3
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x4673e0]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4673e0]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x4673e0]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4673e0]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4673e0]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4673e0]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4673e0]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4673e0]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x42d942
pop ebp
test edi, edi
je 0x42da3c
lea ecx, [ecx]
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x4673e0]
add ecx, 1
sub edi, 1
jne 0x42da20
mov eax, esi
pop edi
not eax
pop esi
ret

Function at 0x42da50
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [edx]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4673e0]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
add eax, 1
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x4673e0]
mov dword [edx + 8], ecx
ret

Function at 0x42daa0
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
xor al, bl
movzx ebx, al
xor ebx, edx
shr edx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4673e0]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
add edx, 1
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x4673e0]
pop ebx
mov dword [esi + 8], ecx
ret

Function at 0x42e1b0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ebx
imul esi, dword [esp + 0x10]
cmp byte [edi], 0
je 0x42e1e8
mov ecx, dword [edi + 4]
push 0
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42e1dd
mov byte [edi + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
pop esi
div ebx
pop ebx
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
push ebp
lea ebp, [ecx + esi]
cmp ebp, eax
pop ebp
jbe 0x42e1fb
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
push esi
add eax, ecx
push eax
push edx
call fcn.0043ebb0
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
ret
Function at 0x42ecf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x42ed08
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0x42ecfd
cmp dword [edi + 0x7c], ebx
je 0x42ed17
call fcn.0042f100
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0042eb10
add esp, 0xc
test eax, eax
je 0x42ed3d
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push ebp
push 0x84
call fcn.0043df27
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x42ed7f
push 0x4000
call fcn.0043df27
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
mov dword [ebp], eax
mov dword [ebp + 0x44], ecx
mov dword [ebp + 0x48], edx
mov dword [ebp + 0x4c], ebx
jne 0x42ed8b
push ebp
call fcn.0043d55d
add esp, 4
pop ebp
pop edi
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [ebp + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [ebp + 0x54], ecx
mov dword [ebp + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [ebp + 0x64], edx
mov ecx, dword [edi]
mov dword [ebp + 0x60], ecx
mov edx, dword [edi + 0xc]
push esi
mov dword [ebp + 0x68], edx
cmp eax, ebx
mov dword [ebp + 0x18], ebx
jne 0x42edd4
lea esi, [ebp + 4]
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
call fcn.0042dd10
test eax, eax
jne 0x42edd4
mov dword [ebp + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [ebp + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [ebp + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [ebp + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x42edfe
mov cl, byte [edi + 0x39]
mov byte [ebp + 0x80], cl
jmp 0x42ee07
mov dl, byte [edi + 0x3f]
mov byte [ebp + 0x80], dl
mov al, byte [ebp + 0x6c]
mov esi, dword [esp + 0x20]
neg al
lea edx, [ebp + 0x70]
mov dword [edx], 0x12345678
mov dword [ebp + 0x74], 0x23456789
mov dword [ebp + 0x78], 0x34567890
sbb eax, eax
and eax, 0xc
cmp esi, ebx
mov dword [ebp + 0x7c], eax
je 0x42ee43
mov cl, byte [esi]
cmp cl, bl
je 0x42ee43
call fcn.0042da50
add esi, 1
jne 0x42ee33
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 8], ebx
pop esi
mov dword [edi + 0x7c], ebp
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0xc
ret