joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4150d0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x50ceb8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x53577c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x30]
xor edi, edi
mov dword [esp + 0x28], edi
cmp dword [esp + 0x54], 8
mov esi, dword [esp + 0x40]
jae 0x41510f
lea esi, [esp + 0x40]
push esi
call dword [0x50f3d4]
test eax, eax
je 0x415147
push esi
call dword [0x50f3ac]
test eax, eax
jne 0x415147
push edi
sub esp, 0x20
lea esi, [eax + 1]
mov eax, esp
mov dword [esp + 0x34], esp
lea ecx, [esp + 0x5c]
push ecx
push eax
call fcn.0040a6b0
mov ecx, esi
call fcn.00415340
add esp, 0x24
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 1
jae 0x41516a
lea eax, [esp + 0x40]
push edi
push 0x80
push 2
lea edx, [esp + 0x20]
push edx
push 1
push 0xc0000000
push eax
call dword [0x50f198]
mov esi, eax
cmp esi, 0xffffffff
je 0x4151a5
mov ecx, dword [esp + 0x34]
push edi
lea eax, [esp + 0x14]
push eax
push ecx
push ebx
push esi
mov dword [esp + 0x24], edi
call dword [0x50f1c0]
mov edi, eax
push esi
call dword [0x50f1f4]
cmp dword [esp + 0x54], 8
mov dword [esp + 0x38], vtable.snutil::String.0
jb 0x4151c8
mov edx, dword [esp + 0x40]
push edx
call fcn.00453344
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x415b70
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x60
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
push edi
xor edi, edi
mov ebx, 1
cmp dword [0x53aa08], edi
je 0x415bad
mov eax, 0x408
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00453735
add esp, 0x60
ret
mov esi, dword [0x53aa1c]
cmp esi, 1
jae 0x415c51
jmp 0x415bc2
xor edi, edi
mov eax, 0x53aa30
push esi
sub eax, esi
push eax
push ebp
call fcn.004571c0
push edi
lea ecx, [esp + 0x20]
push 0x10
mov eax, 0x80
push ecx
lea ecx, [eax - 0x70]
mov edx, 0x53aa0c
sub ebx, esi
add ebp, esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], 0x67452301
mov dword [esp + 0x34], 0xefcdab89
mov dword [esp + 0x38], 0x98badcfe
mov dword [esp + 0x3c], 0x10325476
call fcn.00418f10
add esp, 0x18
mov edi, 0x53aa20
lea esi, [esp + 0x10]
call fcn.00418fc0
mov esi, 0x10
mov eax, esi
nop
mov cl, byte [eax + 0x53aa0b]
mov dl, cl
inc dl
mov byte [eax + 0x53aa0b], dl
test cl, cl
jne 0x415c49
sub eax, 1
jne 0x415c30
cmp ebx, esi
ja 0x415bc0
mov eax, 0x53aa30
push ebx
sub eax, esi
push eax
push ebp
call fcn.004571c0
mov ecx, dword [esp + 0x78]
add esp, 0xc
sub esi, ebx
pop edi
mov dword [0x53aa1c], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00453735
add esp, 0x60
ret
Function at 0x415c80
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x78
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0x70], eax
push ebp
push esi
xor ebp, ebp
push edi
push ebp
lea eax, [esp + 0x14]
push 1
push eax
lea eax, [ebp + 8]
lea ecx, [ebp + 1]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
call fcn.00418f10
add esp, 0xc
lea edi, [esp + 0x6c]
lea esi, [esp + 0x10]
call fcn.00418fc0
mov dword [esp + 0xc], ebp
lea ecx, [ebp + 0x10]
xor eax, eax
mov si, bp
lea ebx, [ebx]
movzx di, byte [eax + 0x53aa1b]
movzx dx, byte [esp + eax + 0x7b]
add dx, di
add si, dx
mov word [esp + 0xc], si
mov dl, byte [esp + 0xc]
mov byte [eax + 0x53aa1b], dl
add ecx, 0xffff
shr si, 8
dec eax
cmp cx, bp
ja 0x415cf0
cmp dword [0x53aa08], 1
jae 0x415d46
mov dword [0x53aa08], ebp
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00453735
add esp, 0x78
ret
mov ecx, dword [esp + 0x7c]
dec dword [0x53aa08]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00453735
add esp, 0x78
ret

Function at 0x415de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50c019
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x53577c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov ax, word [esi + 0xc]
add ax, word [esi + 4]
mov dword [esp + 0x14], edi
sub ax, word [esi + 8]
movzx eax, ax
cdq
cmp edx, dword [esp + 0x30]
jg 0x415e3e
jl 0x415e36
mov ebx, dword [esp + 0x2c]
cmp eax, ebx
jae 0x415e42
mov ebx, eax
mov dword [esp + 0x30], edx
jmp 0x415e42
mov ebx, dword [esp + 0x2c]
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ecx
mov byte [edi + 4], cl
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 8]
push ebx
push ecx
mov ecx, edi
mov dword [esp + 0x18], 1
call fcn.00404f20
add dword [esi + 8], ebx
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
Function at 0x415e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50c7d9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x53577c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov ax, word [esi + 0xc]
add ax, word [esi + 4]
mov dword [esp + 0x14], edi
sub ax, word [esi + 8]
movzx eax, ax
cdq
cmp edx, dword [esp + 0x30]
jg 0x415eee
jl 0x415ee6
mov ebx, dword [esp + 0x2c]
cmp eax, ebx
jae 0x415ef2
mov ebx, eax
mov dword [esp + 0x30], edx
jmp 0x415ef2
mov ebx, dword [esp + 0x2c]
xor edx, edx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ecx
mov word [edi + 4], dx
mov dword [esp + 0x20], ecx
mov eax, dword [esi + 8]
push ebx
push eax
mov ecx, edi
mov dword [esp + 0x18], 1
call fcn.004053d0
lea ecx, [ebx + ebx]
add dword [esi + 8], ecx
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
Function at 0x416070
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x1b4
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0x1b0], eax
xor eax, eax
push ebx
push esi
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov word [esp + 0x51], ax
mov byte [esp + 0x53], al
push 0xe1
lea eax, [esp + 0xd8]
xor ebx, ebx
push eax
mov byte [esp + 0x3c], bl
call fcn.005040c4
cmp eax, 0xffffffff
jne 0x4160e6
mov eax, 0x522680
pop esi
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.00453735
add esp, 0x1b4
ret
lea ecx, [esp + 0xd4]
push ecx
call fcn.005040a6
cmp eax, ebx
je 0x4160ca
mov eax, dword [eax + 0xc]
cmp dword [eax], ebx
je 0x41611a
mov edx, dword [eax]
mov eax, dword [edx]
push eax
call fcn.005040be
lea edx, [esp + 0x34]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x416110
lea eax, [esp + 0x10]
push eax
call fcn.005056c8
push ebx
call fcn.005056c8
add esp, 8
mov esi, eax
mov dword [esp + 0xc], edx
call dword [0x50f0c8]
add eax, esi
push eax
call fcn.00505ca5
call fcn.00505cb7
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x529430]
fmul qword [0x529428]
call fcn.00505ce0
push 0x7f
lea ecx, [esp + 0x5d]
push ebx
push ecx
mov esi, eax
mov byte [esp + 0x64], bl
call fcn.00453ec0
mov edx, dword [esp + 0x20]
push esi
push ebx
push edx
lea eax, [esp + 0x50]
push eax
push str._s._d_d._d
lea ecx, [esp + 0x78]
push 0x80
push ecx
call fcn.005058ca
add esp, 0x10
mov ecx, esp
lea eax, [esp + 0x70]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x24], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4161b0
sub eax, esi
push eax
lea edx, [esp + 0x74]
push edx
call fcn.00404f20
lea eax, [esp + 0x34]
push eax
call fcn.0040c2a0
add esp, 0x20
cmp dword [eax + 0x18], 8
jb 0x4161dc
mov eax, dword [eax + 4]
jmp 0x4161df
add eax, 4
push eax
call fcn.00504cb0
add esp, 4
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x4161fe
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00453344
add esp, 4
mov ecx, dword [esp + 0x1b8]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00453735
add esp, 0x1b4
ret
Function at 0x4193a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x50d897
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x53577c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi], vtable.NKZ::CKZArchive.0
mov dword [esi + 4], vtable.NKZ::CKZArchive.1.0
mov dword [esi + 0xc], ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x70], 7
mov dword [esi + 0x6c], ebx
xor eax, eax
mov word [esi + 0x5c], ax
xor ecx, ecx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov word [esi + 0x52], cx
mov byte [esi + 0x41], bl
mov byte [esi + 0x42], bl
mov dword [esi + 0x44], ebx
mov byte [esi + 0x48], bl
mov dword [esi + 0x49], eax
mov dword [esi + 0x4d], eax
xor edx, edx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov word [esi + 0x80], dx
mov word [esi + 0x54], ax
mov byte [esi + 0x40], bl
lea ecx, [esi + 0x88]
push ecx
mov byte [esp + 0x18], 4
call fcn.0041b9a0
mov dword [esi + 0xa0], vtable.NKZ::CBuffer_unsigned_char_.0
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc4], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x421bd0
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x88
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x8c]
push ebx
xor ebx, ebx
push ebp
xor ecx, ecx
mov dword [esp + 0x14], eax
xor eax, eax
push esi
push edi
mov dword [esp + 0x20], 0x6a09e667
mov dword [esp + 0x24], 0xbb67ae85
mov dword [esp + 0x28], 0x3c6ef372
mov dword [esp + 0x2c], 0xa54ff53a
mov dword [esp + 0x30], 0x510e527f
mov dword [esp + 0x34], 0x9b05688c
mov dword [esp + 0x38], 0x1f83d9ab
mov dword [esp + 0x3c], 0x5be0cd19
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x8c], bl
mov dword [esp + 0x8d], eax
mov word [esp + 0x91], ax
mov byte [esp + 0x93], al
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
jmp 0x421c74
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0xa4]
mov edi, dword [esp + 0xa0]
mov esi, ecx
and esi, 0x3f
cmp ebp, ebx
jbe 0x421cba
jmp 0x421c90
mov cl, byte [edi]
mov byte [esp + esi + 0x48], cl
inc esi
inc edi
add dword [esp + 0x40], 1
adc dword [esp + 0x44], ebx
dec ebp
cmp esi, 0x40
jne 0x421cb2
lea edx, [esp + 0x20]
xor esi, esi
call fcn.00427040
cmp ebp, ebx
ja 0x421c90
mov ecx, dword [esp + 0x40]
and ecx, 0x3f
mov ebp, 8
lea edi, [esp + 0x8c]
mov esi, ecx
jmp 0x421cd0
mov dl, byte [edi]
mov byte [esp + esi + 0x48], dl
inc esi
inc edi
add dword [esp + 0x40], 1
adc dword [esp + 0x44], ebx
dec ebp
cmp esi, 0x40
jne 0x421cf2
lea edx, [esp + 0x20]
xor esi, esi
call fcn.00427040
cmp ebp, ebx
ja 0x421cd0
xor eax, eax
jmp 0x421d00
add byte [esp + eax + 0x8c], 1
jne 0x421d10
inc eax
cmp eax, 8
jl 0x421d00
add dword [esp + 0x10], 1
adc dword [esp + 0x14], ebx
jne 0x421d29
cmp dword [esp + 0x10], 0x80000
jb 0x421c70
mov eax, dword [esp + 0x1c]
lea edi, [esp + 0x20]
call fcn.00427100
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00453735
add esp, 0x88
ret 0xc
Function at 0x4274c0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
lea ebp, [ebx + 0x1c]
shr ebx, 2
mov eax, ebx
shr eax, 1
add eax, 3
push esi
mov dword [ecx], eax
add ecx, 0x10
xor esi, esi
mov dword [esp + 0xc], ebp
test ebx, ebx
jbe 0x4274f1
mov eax, dword [edx]
mov dword [ecx + esi*4], eax
inc esi
add edx, 4
cmp esi, ebx
jb 0x4274e4
cmp esi, ebp
jae 0x4275e2
mov edx, esi
sub edx, ebx
lea eax, [ecx + edx*4]
mov dword [esp + 0x14], eax
push edi
xor edx, edx
mov eax, esi
div ebx
mov edi, dword [ecx + esi*4 - 4]
test edx, edx
jne 0x42756e
movzx eax, byte [eax + 0x537f9c]
mov edx, edi
and edx, 0xff
movzx edx, byte [edx + str.cw]
mov ebp, edi
shr ebp, 0x18
movzx ebp, byte [ebp + str.cw]
shl edx, 8
or edx, ebp
mov ebp, edi
shr ebp, 0x10
shr edi, 8
and ebp, 0xff
movzx ebp, byte [ebp + str.cw]
and edi, 0xff
movzx edi, byte [edi + str.cw]
shl edx, 8
or edx, ebp
mov ebp, dword [esp + 0x10]
shl edx, 8
xor edi, eax
or edi, edx
jmp 0x4275c6
cmp ebx, 6
jbe 0x4275c6
cmp edx, 4
jne 0x4275c6
mov edx, edi
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + str.cw]
mov edx, edi
shr edx, 0x18
movzx edx, byte [edx + str.cw]
shl edx, 8
or eax, edx
mov edx, edi
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + str.cw]
shl eax, 8
and edi, 0xff
or eax, edx
movzx edx, byte [edi + str.cw]
shl eax, 8
or eax, edx
mov edi, eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
xor edx, edi
mov dword [ecx + esi*4], edx
inc esi
add eax, 4
mov dword [esp + 0x18], eax
cmp esi, ebp
jb 0x427505
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x428210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 0xc]
sub esp, 8
push ebp
mov ebp, dword [edx]
xor eax, eax
and ebp, 7
cmp ecx, 5
jae 0x428229
pop ebp
add esp, 8
ret
mov edx, dword [esp + 0x10]
push ebx
push esi
mov esi, dword [esp + 0x1c]
add esi, 5
lea edx, [edx + ecx - 4]
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], edx
jmp 0x428250
mov ecx, dword [esp + 0x1c]
lea edi, [eax + ecx]
cmp edi, edx
jae 0x42826d
jmp 0x428260
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x42826d
inc edi
cmp edi, edx
jb 0x428260
mov eax, edi
sub eax, ecx
mov ecx, eax
sub ecx, dword [esp + 0x10]
cmp edi, edx
jae 0x428382
cmp ecx, 3
jbe 0x4282a1
xor ebp, ebp
mov cl, byte [edi + 4]
mov dword [esp + 0x10], eax
test cl, cl
je 0x4282db
cmp cl, 0xff
je 0x4282db
and ebp, 3
add ebp, ebp
or ebp, 1
inc eax
jmp 0x428250
dec ecx
shl ebp, cl
and ebp, 7
je 0x428286
movzx ecx, byte [ebp + 0x528130]
mov ebx, edi
sub ebx, ecx
cmp byte [ebp + 0x528128], 0
mov cl, byte [ebx + 4]
je 0x4282c9
test cl, cl
je 0x4282c9
cmp cl, 0xff
jne 0x428286
and ebp, 3
add ebp, ebp
mov dword [esp + 0x10], eax
or ebp, 1
inc eax
jmp 0x428250
movzx edx, cl
movzx ecx, byte [edi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
lea esp, [esp]
cmp dword [esp + 0x28], 0
je 0x42830e
lea ebx, [edx + eax]
add ebx, esi
jmp 0x428314
sub edx, eax
sub edx, esi
mov ebx, edx
test ebp, ebp
je 0x428354
movzx esi, byte [ebp + 0x528130]
add esi, esi
add esi, esi
add esi, esi
mov ecx, 0x18
sub ecx, esi
mov edx, ebx
shr edx, cl
test dl, dl
je 0x428339
cmp dl, 0xff
jne 0x428350
mov ecx, 0x20
sub ecx, esi
mov esi, dword [esp + 0x20]
mov edx, 1
shl edx, cl
dec edx
xor edx, ebx
jmp 0x428300
mov esi, dword [esp + 0x20]
mov edx, ebx
shr edx, 0x18
and dl, 1
dec dl
not dl
mov byte [edi + 4], dl
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x14]
mov byte [edi + 3], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x428250
pop edi
pop esi
pop ebx
cmp ecx, 3
jbe 0x428397
mov ecx, dword [esp + 0x18]
xor ebp, ebp
mov dword [ecx], ebp
pop ebp
add esp, 8
ret
dec ecx
shl ebp, cl
mov ecx, dword [esp + 0x18]
and ebp, 7
mov dword [ecx], ebp
pop ebp
add esp, 8
ret
Function at 0x42be30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50ba11
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push edi
mov eax, dword [0x53577c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
xor ebx, ebx
mov dword [edi + 0x2c], ebx
mov dword [esp + 0x18], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov eax, dword [esp + 0x24]
mov byte [esp + 0x18], 2
mov dword [edi + 0xc], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x10], ebx
cmp dword [edi + 0x30], esi
je 0x42bea2
cmp esi, ebx
je 0x42be90
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [edi + 0x30]
cmp eax, ebx
je 0x42be9f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x30], esi
cmp dword [edi + 0x2c], ebp
je 0x42bec6
cmp ebp, ebx
je 0x42beb4
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
push ebp
call ecx
mov eax, dword [edi + 0x2c]
cmp eax, ebx
je 0x42bec3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [edi + 0x2c], ebp
mov eax, dword [edi + 0x14]
sub eax, 1
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x24], ecx
mov dword [edi + 0x28], ebx
mov byte [edi + 8], bl
je 0x42bef5
sub eax, 1
mov eax, edi
jne 0x42befc
call fcn.0042c160
jmp 0x42befa
call fcn.0042c0c0
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x42bf20
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x50b781
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x53577c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, 2
mov dword [esp + 0x14], eax
cmp dword [esi + 0x14], eax
jne 0x42bf99
cmp dword [esi + 0x10], 1
jne 0x42bf99
mov edi, dword [esi]
cmp byte [edi], 0
jne 0x42bf99
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 4]
push eax
push ecx
mov byte [edi + 0x18], 0
call fcn.0045f44b
mov dword [edi + 4], eax
mov dword [esi + 0xc], eax
call fcn.0045c616
mov edx, dword [esi + 0x18]
add eax, 0x20
push eax
mov eax, dword [esi + 0xc]
push edx
push 1
push eax
call fcn.00456272
add esp, 0x18
cmp dword [esi + 0x14], 0
jne 0x42bfc2
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x42c005
mov edx, dword [esi + 0x34]
test edx, edx
je 0x42c005
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x42c005
mov edi, dword [eax]
push 0
push ecx
mov ecx, dword [edi + 0xc]
push edx
push eax
call ecx
jmp 0x42c005
cmp dword [esi + 0x10], 0
jne 0x42bfe4
cmp byte [esi + 8], 0
je 0x42bfda
mov edx, dword [esi + 0xc]
push edx
call fcn.00456987
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x42c005
push eax
jmp 0x42bffd
mov edi, dword [esi]
test edi, edi
je 0x42c005
cmp byte [edi + 0x18], 0
je 0x42bffc
mov eax, dword [edi + 4]
push eax
call fcn.00456987
add esp, 4
push edi
call fcn.00453344
add esp, 4
mov eax, dword [esi + 0x34]
test eax, eax
je 0x42c01c
push eax
call fcn.00453eaa
add esp, 4
mov dword [esi + 0x34], 0
mov byte [esp + 0x14], 0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x42c030
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], 0xffffffff
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x42c047
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x42c160
Capabilities:
Read file on windows

Disassembly:
push ebx
push edi
mov edi, eax
xor ebx, ebx
cmp dword [edi + 0x10], ebx
jne 0x42c252
push ebp
push esi
push 0x1c
call fcn.00453dd6
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x42c1aa
mov eax, 0x10000
push eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov byte [esi], bl
mov byte [esi + 0x18], 1
mov dword [esi + 8], eax
call fcn.00456d6a
add esp, 4
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x42c1ac
mov byte [esi], 1
jmp 0x42c1ac
xor esi, esi
push 1
push 0x100000
call fcn.0046d614
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x42c201
call fcn.0045c616
push eax
push 0x100000
push 1
push ebp
call fcn.00457194
add esp, 0x10
cmp eax, ebx
jle 0x42c201
jmp 0x42c1e0
mov ecx, ebp
call fcn.0042bd40
call fcn.0045c616
push eax
push 0x100000
push 1
push ebp
call fcn.00457194
add esp, 0x10
cmp eax, ebx
jg 0x42c1e0
cmp byte [esi], bl
je 0x42c20d
mov dword [edi + 0xc], ebx
mov dword [edi + 0x18], ebx
jmp 0x42c22c
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 4]
push eax
push ecx
mov byte [esi + 0x18], bl
call fcn.0045f44b
mov dword [esi + 4], eax
mov dword [edi + 0xc], eax
mov edx, dword [esi + 0x14]
add esp, 8
mov dword [edi + 0x18], edx
cmp byte [esi + 0x18], bl
je 0x42c23d
mov eax, dword [esi + 4]
push eax
call fcn.00456987
add esp, 4
push esi
call fcn.00453344
push ebp
call fcn.00456987
add esp, 8
pop esi
mov byte [edi + 8], 1
pop ebp
call fcn.0042c0c0
pop edi
pop ebx
ret
Function at 0x43b0b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50888b
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x53577c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x430], 0
push 0
mov eax, dword [ebp - 0x430]
push eax
call dword [0x50f300]
mov dword [ebp - 0x418], eax
push 0
push 0x8000000
push 3
push 0
push 3
push 0x80000000
mov ecx, dword [ebp + 8]
push ecx
call dword [0x50f198]
mov dword [ebp - 0x430], eax
push 0
mov edx, dword [ebp - 0x430]
push edx
call dword [0x50f300]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x418]
push eax
push 0x20
lea ecx, [ebp - 0x42c]
call fcn.0043b2f0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x434]
push ecx
mov edx, dword [ebp - 0x418]
push edx
mov eax, dword [ebp - 0x418]
push eax
lea ecx, [ebp - 0x42c]
call fcn.0043a450
push eax
mov ecx, dword [ebp - 0x430]
push ecx
call dword [0x50f1f0]
mov edx, dword [ebp - 0x430]
push edx
call dword [0x50f1f4]
push 0xffffffffffffffff
lea ecx, [ebp - 0x42c]
call fcn.0043b3d0
mov dword [ebp - 0x424], 0x4c10db7
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x41c], 0
jmp 0x43b1c2
mov eax, dword [ebp - 0x41c]
add eax, 1
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0x100
jge 0x43b247
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x440], 0
jmp 0x43b1f5
mov edx, dword [ebp - 0x440]
add edx, 1
mov dword [ebp - 0x440], edx
cmp dword [ebp - 0x440], 8
jge 0x43b22f
mov eax, dword [ebp - 0x420]
and eax, 1
je 0x43b21f
mov ecx, dword [ebp - 0x420]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 0x420], ecx
jmp 0x43b22d
mov edx, dword [ebp - 0x420]
shr edx, 1
mov dword [ebp - 0x420], edx
jmp 0x43b1e6
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x420]
mov dword [ebp + eax*4 - 0x414], ecx
jmp 0x43b1b3
mov dword [ebp - 0x10], 0xffffffff
mov edx, dword [ebp - 0x418]
mov dword [ebp - 0x428], edx
lea ecx, [ebp - 0x42c]
call fcn.00440710
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 0x428]
sub ecx, 1
mov dword [ebp - 0x428], ecx
test eax, eax
je 0x43b2b8
mov edx, dword [ebp - 0x10]
shr edx, 8
mov eax, dword [ebp - 0x10]
and eax, 0xff
mov ecx, dword [ebp - 0x438]
movzx ecx, byte [ecx]
xor eax, ecx
xor edx, dword [ebp + eax*4 - 0x414]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x438]
add edx, 1
mov dword [ebp - 0x438], edx
jmp 0x43b26b
mov eax, dword [ebp - 0x10]
xor eax, 0xffffffff
mov dword [ebp - 0x444], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.00439610
mov eax, dword [ebp - 0x444]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret