joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bb80
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 0x408
mov eax, dword [0x47f344]
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 0x41bba8
xor al, al
jmp 0x41bc15
push 0x3ff
lea eax, [esp + 0x11]
push 0
push eax
mov byte [esp + 0x18], 0
call fcn.00442eb0
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 0x41bc13
mov eax, dword [esp + 8]
test eax, eax
je 0x41bc13
push eax
lea eax, [esp + 0x10]
push eax
mov eax, ebp
call fcn.00408d20
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 0x41bbe5
mov al, 1
mov ecx, dword [esp + 0x40c]
pop edi
pop ebp
xor ecx, esp
call fcn.0043e436
add esp, 0x408
ret 4

Function at 0x41c4c0
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x4614af
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x47f344]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
mov eax, dword [0x47f344]
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.0041bc30
cmp byte [esp + 0x80], bl
jne 0x41c57e
lea esi, [esp + 0x18]
mov byte [esp + 0x80], 1
call fcn.0041bcd0
mov eax, dword [edi + 0x18]
mov esi, 0x10
cmp eax, esi
jb 0x41c58f
mov ecx, dword [ebp]
jmp 0x41c591
mov ecx, ebp
lea edx, [esp + 0x70]
cmp edx, ecx
jb 0x41c5ca
cmp eax, esi
jb 0x41c5a2
mov ecx, dword [ebp]
jmp 0x41c5a4
mov ecx, ebp
mov edx, dword [edi + 0x14]
add edx, ecx
lea ecx, [esp + 0x70]
cmp edx, ecx
jbe 0x41c5ca
cmp eax, esi
jb 0x41c5b8
mov ebp, dword [ebp]
push esi
lea edx, [esp + 0x74]
sub edx, ebp
push edx
push edi
mov ecx, edi
call fcn.00407c00
jmp 0x41c606
cmp eax, esi
jae 0x41c5da
mov eax, dword [edi + 0x14]
push eax
push esi
mov ecx, edi
call fcn.00408f00
mov ecx, dword [edi + 0x18]
cmp ecx, esi
jb 0x41c5e6
mov eax, dword [ebp]
jmp 0x41c5e8
mov eax, ebp
push esi
lea edx, [esp + 0x74]
push edx
push ecx
push eax
call fcn.0043e888
add esp, 0x10
cmp dword [edi + 0x18], esi
mov dword [edi + 0x14], esi
jb 0x41c603
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.0043e436
add esp, 0x84
ret
Function at 0x41c8b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x461459
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x47f344]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push edi
mov eax, dword [0x47f344]
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 0x41c961
mov ecx, dword [edi]
jmp 0x41c963
mov ecx, edi
lea edx, [esp + 0x14]
cmp edx, ecx
jb 0x41c99d
cmp eax, 0x10
jb 0x41c974
mov ecx, dword [edi]
jmp 0x41c976
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
lea ecx, [esp + 0x14]
cmp edx, ecx
jbe 0x41c99d
cmp eax, 0x10
jb 0x41c98a
mov edi, dword [edi]
push 0x10
lea edx, [esp + 0x18]
sub edx, edi
push edx
push esi
mov ecx, esi
call fcn.00407c00
jmp 0x41c9e0
cmp eax, 0x10
jae 0x41c9af
mov eax, dword [esi + 0x14]
push eax
push 0x10
mov ecx, esi
call fcn.00408f00
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x41c9bb
mov eax, dword [edi]
jmp 0x41c9bd
mov eax, edi
push 0x10
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.0043e888
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0x10
jb 0x41c9dd
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.0043e436
add esp, 0x28
ret
Function at 0x41ca00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x461459
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x47f344]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push edi
mov eax, dword [0x47f344]
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 0x41cab1
mov ecx, dword [edi]
jmp 0x41cab3
mov ecx, edi
lea edx, [esp + 0x14]
cmp edx, ecx
jb 0x41caed
cmp eax, 0x10
jb 0x41cac4
mov ecx, dword [edi]
jmp 0x41cac6
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
lea ecx, [esp + 0x14]
cmp edx, ecx
jbe 0x41caed
cmp eax, 0x10
jb 0x41cada
mov edi, dword [edi]
push 0x10
lea edx, [esp + 0x18]
sub edx, edi
push edx
push esi
mov ecx, esi
call fcn.00407c00
jmp 0x41cb30
cmp eax, 0x10
jae 0x41caff
mov eax, dword [esi + 0x14]
push eax
push 0x10
mov ecx, esi
call fcn.00408f00
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x41cb0b
mov eax, dword [edi]
jmp 0x41cb0d
mov eax, edi
push 0x10
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.0043e888
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0x10
jb 0x41cb2d
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.0043e436
add esp, 0x28
ret
Function at 0x41ce40
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x461aeb
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x47f344]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push esi
mov eax, dword [0x47f344]
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.0041ce10
push 0x63
lea eax, [esp + 0x31]
push ebx
mov dword [esp + 0xa4], ebx
push eax
mov byte [esp + 0x38], bl
call fcn.00442eb0
mov eax, dword [esp + 0x20]
mov esi, 0x10
add esp, 0xc
cmp dword [esp + 0x28], esi
jae 0x41ceb6
lea eax, [esp + 0x14]
push eax
push 0x63
lea ecx, [esp + 0x34]
push ecx
push 0x469f6d
push 0x46a514
push 0x46a518
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 0x41cee7
sub eax, edx
push eax
lea edx, [esp + 0x30]
push edx
mov ecx, edi
call fcn.00406e20
cmp dword [esp + 0x28], esi
jb 0x41cf12
mov eax, dword [esp + 0x14]
push eax
call fcn.0043e445
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.0043e436
add esp, 0x94
ret
Function at 0x41f6c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x465446
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x47f344]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x47f344]
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.00422270
test al, al
je 0x41f88c
cmp byte [esp + 0x1c], 7
jne 0x41f88c
push 0x46a0c8
push str.open
lea eax, [esp + 0x1c]
push eax
call fcn.0042ab80
cmp byte [eax + 8], 5
jne 0x41f88c
push 0x46a0c8
push str.open
lea ecx, [esp + 0x1c]
push ecx
call fcn.0042ab80
push eax
call fcn.0042a3d0
mov byte [esi + 0x74], al
mov esi, 0x10
cmp dword [esp + 0x9c], esi
jb 0x41f829
mov edx, dword [esp + 0x88]
push edx
call fcn.0043e445
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 0x41f856
mov eax, dword [esp + 0x58]
push eax
call fcn.0043e445
add esp, 4
lea esi, [esp + 0x40]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.0040fc90
lea esi, [esp + 0x2c]
call fcn.0043b880
lea esi, [esp + 0x14]
mov dword [esp + 0xc0], 0xffffffff
call fcn.00429810
mov al, 1
jmp 0x41f8ab
lea edi, [esp + 0x2c]
call fcn.0040ee40
lea esi, [esp + 0x14]
mov dword [esp + 0xc0], 0xffffffff
call fcn.00429810
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.0043e436
mov esp, ebp
pop ebp
ret 4
Function at 0x41f970
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x464af0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x47f344]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f344]
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 0x41f9f2
cmp edi, ebx
je 0x41f9f7
call fcn.0043e81d
cmp esi, ebp
je 0x41fa8b
test edi, edi
jne 0x41fa08
call fcn.0043e81d
cmp esi, dword [edi + 4]
jne 0x41fa12
call fcn.0043e81d
lea ecx, [esi + 0x30]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00429640
mov byte [esp + 0x90], 2
cmp esi, dword [edi + 4]
jne 0x41fa32
call fcn.0043e81d
mov edx, dword [esi + 0x28]
cmp edx, 0x10
lea eax, [esi + 0x14]
jb 0x41fa41
mov ecx, dword [eax]
jmp 0x41fa43
mov ecx, eax
cmp edx, 0x10
mov esi, dword [esi + 0x24]
jb 0x41fa4d
mov eax, dword [eax]
add ecx, esi
push ecx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0042ab80
mov ecx, eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x90], 1
call fcn.00429900
mov esi, eax
call fcn.00429810
lea esi, [esp + 0x18]
call fcn.0040ade0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
jmp 0x41f9e7
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.0042d2f0
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
xor ebp, ebp
push ebp
push eax
mov byte [esp + 0x9c], 4
call fcn.00407c00
mov edi, 0x10
cmp dword [esp + 0x54], edi
jb 0x41fb0c
mov eax, dword [esp + 0x40]
push eax
call fcn.0043e445
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 0x41fb30
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0043e445
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.00429810
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.0043e436
add esp, 0x80
ret 8
Function at 0x4207b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4646a2
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebp
push esi
push edi
mov eax, dword [0x47f344]
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.00421110
test ebp, ebp
mov edi, eax
jne 0x4207f1
call fcn.0043e81d
cmp edi, dword [ebp + 4]
je 0x420804
lea eax, [edi + 0x10]
mov edx, esi
call fcn.00420760
test eax, eax
jge 0x42087d
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.00420d30
push edi
push ebp
push eax
lea edx, [esp + 0x20]
push edx
push ebp
mov byte [esp + 0x90], 2
call fcn.00420a60
mov ebp, dword [eax]
mov edi, dword [eax + 4]
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x80], 1
call fcn.0040b830
lea esi, [esp + 0x1c]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00429810
test ebp, ebp
jne 0x420886
call fcn.0043e81d
cmp edi, dword [ebp + 4]
jne 0x420890
call fcn.0043e81d
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 0x423740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x463b68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x47f344]
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.00423810
test al, al
jne 0x4237b8
lea esi, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00429810
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
call fcn.0043b4c0
mov edx, dword [eax]
lea eax, [esp + 0xc]
call fcn.004298a0
call fcn.0043b4c0
mov ecx, dword [eax]
mov eax, dword [edi + 4]
sub eax, dword [esi + 0x44]
mov dword [ecx + 0x10], eax
call fcn.0043b4c0
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.00429810
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x42f7f0
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 0x42f801
pop edi
xor eax, eax
pop esi
ret
cmp edi, 8
not esi
jb 0x42f8e9
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 + 0x46d5d8]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46d5d8]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x46d5d8]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46d5d8]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46d5d8]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46d5d8]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46d5d8]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46d5d8]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x42f812
pop ebp
test edi, edi
je 0x42f90c
lea ecx, [ecx]
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x46d5d8]
add ecx, 1
sub edi, 1
jne 0x42f8f0
mov eax, esi
pop edi
not eax
pop esi
ret

Function at 0x42f920
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [edx]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x46d5d8]
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 + 0x46d5d8]
mov dword [edx + 8], ecx
ret

Function at 0x42f970
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 + 0x46d5d8]
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 + 0x46d5d8]
pop ebx
mov dword [esi + 8], ecx
ret

Function at 0x430080
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 0x4300b8
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 0x4300ad
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 0x4300cb
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
push esi
add eax, ecx
push eax
push edx
call fcn.004432a0
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
ret
Function at 0x430bc0
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 0x430bd8
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0x430bcd
cmp dword [edi + 0x7c], ebx
je 0x430be7
call fcn.00430fd0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004309e0
add esp, 0xc
test eax, eax
je 0x430c0d
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push ebp
push 0x84
call fcn.00440977
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x430c4f
push 0x4000
call fcn.00440977
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 0x430c5b
push ebp
call fcn.0043fe16
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 0x430ca4
lea esi, [ebp + 4]
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
call fcn.0042fbe0
test eax, eax
jne 0x430ca4
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 0x430cce
mov cl, byte [edi + 0x39]
mov byte [ebp + 0x80], cl
jmp 0x430cd7
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 0x430d13
mov cl, byte [esi]
cmp cl, bl
je 0x430d13
call fcn.0042f920
add esi, 1
jne 0x430d03
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