joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4413ff
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4414d4
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x4414d4
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x4414d4
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x44145a
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x4414d4
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x44149f
test dl, dl
je 0x44149b
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x44149f
add ecx, 2
add eax, 2
test dl, dl
jne 0x44147f
xor eax, eax
jmp 0x4414a4
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4414b6
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x4414c1
inc esi
cmp esi, ebp
jae 0x4414d4
mov edx, dword [esp + 0x10]
jmp 0x441475
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x441738
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x441743
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x441757
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x44175b
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x441794
cmp dword [edi + ecx], 0x4550
jne 0x441794
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x441794
test byte [edi + ecx + 0x16], 2
je 0x441794
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x441799
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x4417d5
xor eax, eax
jmp 0x4417b8
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x4417de
inc edx
movzx eax, dx
cmp eax, edi
jl 0x4417b8
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x4417e4
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x44181c
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x44182a
add edx, 0x20
cmp eax, edx
jne 0x44183b
test bx, bx
je 0x441870
add esi, 2
add edi, 2
jmp 0x44180c
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x441849
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x441857
add edx, 0x20
sub ecx, edx
je 0x441870
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x441805
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x441889
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x44194a
test ecx, ecx
je 0x44194a
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x44194a
test ebx, ebx
je 0x44194a
mov ebx, eax
add ebx, edx
je 0x44194a
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x44194a
cmp dword [edx + eax + 0x14], 0
je 0x44194a
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x44194a
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x44193a
test dl, dl
je 0x441936
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x44193a
add edi, 2
add esi, 2
test dl, dl
jne 0x44191a
xor eax, eax
jmp 0x44193f
sbb eax, eax
or eax, 1
test eax, eax
je 0x441956
inc ebp
cmp ebp, dword [esp + 4]
jb 0x441907
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x4672d0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x467339
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.00463ec0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x468130
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x468151
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x4681ab
inc edi
cmp edi, esi
jl 0x468145
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x4681e0
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x46819a
cmp byte [eax], bl
je 0x4681b5
cmp byte [eax + 1], bl
je 0x4681be
cmp byte [eax + 2], bl
je 0x4681c8
cmp byte [eax + 3], bl
je 0x4681d4
add eax, 4
cmp eax, edi
jb 0x468171
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4

Function at 0x468b40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x468b4c
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x468bdf
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x468ba9
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.00468bf0
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x468b7e
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret
Function at 0x468c10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x468d0d
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x468c62
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x468c8e
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.00468bf0
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x468ccf
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x468c51
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x46aa30
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x580624]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x46aa43
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x46aa84
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x5806cc]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x46aab6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x46aaba
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x46aaab
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x46aad8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x46aadc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x46aacd
xor ecx, ecx
mov eax, 0x580634
xor ebx, ebx
mov bl, byte [ecx + 0x5806dc]
cmp byte [esp + ebx + 0x14], 0
je 0x46ab07
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x5806f4]
cmp byte [esp + ebx + 0x14], 0
je 0x46ab1e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x46aaee
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x46aa77
lea edx, [esp + 0x84]
push edx
call fcn.0046ab60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x416760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
or ebp, 0xffffffff
jmp 0x416782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x416789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x416778
mov eax, 1
add ebx, ebx
jne 0x41679b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x416790
jne 0x4167ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416790
xor ecx, ecx
sub eax, 3
jb 0x4167c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x416832
mov ebp, eax
add ebx, ebx
jne 0x4167cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4167d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4167fc
inc ecx
add ebx, ebx
jne 0x4167e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4167dd
jne 0x4167f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4167dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41681c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41680d
jmp 0x41677e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41681c
add edi, ecx
jmp 0x41677e
pop esi
mov edi, esi
mov ecx, 0x167
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41683a
cmp byte [edi], 5
jne 0x41683a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41683f
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x4168b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16f5c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x16fc0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41686c
mov ecx, edi
jns 0x41689b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16fc4]
or eax, eax
je 0x4168b1
mov dword [ebx], eax
add ebx, 4
jmp 0x416889
call dword [esi + 0x16fcc]
mov ebp, dword [esi + 0x16fc8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4168eb
sub esp, 0xffffff80
jmp 0x40b10a
Function at 0x4065a0
Capabilities:
Read file on windows

Disassembly:
push esi
push 0x100
push 0x8000
push edi
call fcn.00447ff4
mov esi, eax
add esp, 0xc
push esi
call fcn.00449818
add esp, 4
cmp eax, 0x104
jne 0x4065d2
mov dword [0x52bb30], 1
jmp 0x4065fa
cmp eax, 0x358
jne 0x4065e5
mov dword [0x52bb30], 2
jmp 0x4065fa
cmp eax, 0xcc
jne 0x406679
mov dword [0x52bb30], 3
push eax
push 0x4de670
push esi
call fcn.0044899f
add esp, 0xc
push esi
call fcn.00449302
mov eax, dword [0x4de56c]
mov esi, dword [0x457380]
add esp, 4
push edi
push 0x14
push eax
call esi
push eax
call dword [0x4572b8]
mov ecx, dword [0x4de56c]
push 0x3e8
push 0x3e8
push 0xb1
push 0x14
push ecx
call esi
push eax
call dword [0x4572c4]
push 1
call fcn.004045a0
mov edx, dword [0x4de56c]
add esp, 4
push 1
push 0x11
push edx
call esi
push eax
call dword [0x45734c]
mov eax, dword [0x4de56c]
push 1
push eax
call dword [0x45738c]
pop esi
ret
mov ecx, dword [0x52bfa8]
mov edx, dword [0x52c044]
mov eax, dword [0x4dee90]
push 0x10
push ecx
push edx
push eax
call dword [0x4572c8]
push esi
call fcn.00449302
add esp, 4
pop esi
ret
Function at 0x40d280
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
mov eax, 0xffff
test esi, esi
je 0x40d2b1
push ebx
lea esp, [esp]
movzx edx, byte [ecx + edi]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor edx, ebx
movzx edx, word [edx*2 + 0x4a4ad8]
shl eax, 8
inc ecx
xor eax, edx
cmp ecx, esi
jb 0x40d290
pop ebx
ret

Function at 0x40d3d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x78c
push ebx
push ebp
mov ebp, dword [esp + 0x798]
push esi
push edi
mov edi, eax
mov esi, ecx
test edi, edi
jne 0x40d4ce
push 0x100
push 0x8000
push esi
call fcn.00447ff4
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x40d44c
mov eax, dword [0x52c040]
push esi
push eax
lea ecx, [esp + 0x3a0]
push 0x4ab188
push ecx
call fcn.004499de
mov edx, dword [0x52bfa8]
mov ecx, dword [0x4dee90]
add esp, 0x10
push 0x10
push edx
lea eax, [esp + 0x3a0]
push eax
push ecx
call dword [0x4572c8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78c
ret
push ebx
call fcn.00449818
add esp, 4
mov edi, eax
push edi
lea edx, [esp + 0x104]
push edx
push ebx
call fcn.0044899f
add esp, 0xc
push ebx
call fcn.00449302
add esp, 4
cmp edi, 0x88
je 0x40d4c7
cmp edi, 0xec
je 0x40d4c7
mov eax, dword [0x52c044]
push eax
push esi
lea ecx, [esp + 0x3a0]
push 0x4ab198
push ecx
call fcn.004499de
mov edx, dword [0x52bfa8]
mov ecx, dword [0x4dee90]
add esp, 0x10
push 0x10
push edx
lea eax, [esp + 0x3a0]
push eax
push ecx
call dword [0x4572c8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78c
ret
lea esi, [esp + 0x100]
xor ebx, ebx
cmp edi, 0xec
push esi
sete bl
call fcn.00437c40
add esp, 4
cmp ax, word [esi + 6]
je 0x40d506
mov edx, dword [0x4b9de8]
xor eax, eax
test ebx, ebx
sete al
push esi
push edx
lea ecx, [esp + 0x18]
push eax
call fcn.00437770
add esp, 0xc
jmp 0x40d51d
mov eax, edi
cdq
and edx, 3
add eax, edx
sar eax, 2
test eax, eax
je 0x40d51d
mov ecx, eax
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x10]
test ebp, ebp
jne 0x40d548
push ebp
push ebx
lea esi, [esp + 0x1f8]
call fcn.0043a970
add esp, 8
mov edi, esi
call fcn.0043b7e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78c
ret
mov ecx, dword [esp + 0x7a4]
push ecx
push ebx
mov esi, ebp
call fcn.0043a970
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78c
ret
Function at 0x412800
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x788
push ebx
push ebp
push esi
push edi
push 0x100
mov edi, eax
push 0x8000
push edi
call fcn.00447ff4
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x41286b
mov eax, dword [0x52c040]
push edi
push eax
lea ecx, [esp + 0x3a0]
push 0x4ab188
push ecx
call fcn.004499de
mov edx, dword [0x52bfa8]
mov ecx, dword [0x4dee90]
add esp, 0x10
push 0x10
push edx
lea eax, [esp + 0x3a0]
push eax
push ecx
call dword [0x4572c8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x788
ret
push ebx
call fcn.00449818
mov esi, eax
add esp, 4
cmp esi, 0x88
je 0x4128dc
cmp esi, 0xdc
je 0x4128e0
cmp esi, 0xec
je 0x4128e0
push ebx
call fcn.00449302
mov edx, dword [0x52c044]
add esp, 4
push edx
push edi
lea eax, [esp + 0x3a0]
push 0x4ab198
push eax
call fcn.004499de
mov ecx, dword [0x52bfa8]
mov eax, dword [0x4dee90]
add esp, 0x10
push 0x10
push ecx
lea edx, [esp + 0x3a0]
push edx
push eax
call dword [0x4572c8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x788
ret
xor ebp, ebp
jmp 0x4128e5
mov ebp, 1
push esi
lea ecx, [esp + 0x14]
push ecx
push ebx
call fcn.0044899f
lea edx, [esp + 0x1c]
add esp, 0xc
push edx
call fcn.00437c40
mov ecx, dword [esp + 0x18]
shr ecx, 0x10
add esp, 4
cmp ax, cx
je 0x41292d
xor eax, eax
test ebp, ebp
sete al
lea edx, [esp + 0x10]
push edx
push 3
lea ecx, [esp + 0x108]
push eax
call fcn.00437770
add esp, 0xc
jmp 0x41294b
mov eax, esi
cdq
and edx, 3
add eax, edx
sar eax, 2
test eax, eax
je 0x41294b
mov ecx, eax
lea esi, [esp + 0x10]
lea edi, [esp + 0x100]
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.00449302
mov esi, dword [esp + 0x7a0]
add esp, 4
push 0
lea eax, [esp + 0x104]
push ebp
test esi, esi
jne 0x41298a
lea esi, [esp + 0x1f8]
call fcn.0043a970
add esp, 8
mov edi, esi
call fcn.0043b7e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x788
ret
call fcn.0043a970
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x788
ret
Function at 0x435bd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
cmp eax, 0xffffffff
je 0x435be3
mov edx, eax
shl edx, 4
sub edx, eax
lea ecx, [ecx + edx*2 + 6]
mov eax, dword [0x52aef0]
neg eax
sbb eax, eax
imul ecx, ecx, 0x1a8
and eax, 0xa28
xor edx, edx
add eax, 0x1f4
cmp byte [ecx + 0x4def23], dl
je 0x435c26
mov edx, 0x1ea
cmp word [ecx + 0x4deea6], dx
jne 0x435c1d
add eax, 0x2b5
add esp, 0x44
ret
add eax, 0x2b4
add esp, 0x44
ret
push esi
mov esi, 0xc9
mov word [esp + 0x1c], si
mov esi, 0x15f
mov word [esp + 0x1e], si
mov esi, 0x182
mov word [esp + 0x20], si
mov esi, 0x19c
mov word [esp + 0x22], si
mov esi, 0x19d
mov word [esp + 0x24], si
mov esi, 0x1a5
mov word [esp + 0x26], si
mov esi, 0x1a6
mov word [esp + 0x28], si
mov esi, 0x1a7
mov word [esp + 0x2a], si
mov esi, 0x1df
mov word [esp + 0x2c], si
mov esi, 0x1e7
mov word [esp + 0x2e], si
mov esi, 0x1ec
mov word [esp + 0x30], si
mov esi, 0x226
mov word [esp + 0x32], si
mov esi, 0x22b
mov word [esp + 0x34], si
mov esi, 0x249
mov word [esp + 0x36], si
mov esi, 0x24a
mov word [esp + 0x38], si
mov esi, 0x281
mov word [esp + 0x3a], si
mov esi, 0x282
mov word [esp + 0x3c], si
mov esi, 0x285
mov word [esp + 0x3e], si
mov esi, 0x286
mov word [esp + 0x40], si
mov esi, 0x287
mov word [esp + 0x42], si
mov esi, 0x288
mov word [esp + 0x44], si
movzx esi, word [ecx + 0x4deea6]
push edi
mov edi, 0xac
mov dword [esp + 8], 0x1e1b2d00
mov dword [esp + 0xc], 0x23223920
mov dword [esp + 0x10], 0x302a2924
mov dword [esp + 0x14], 0x3a353231
mov dword [esp + 0x18], 0x3f3d3c3b
mov byte [esp + 0x1c], 0x38
cmp si, di
je 0x435d80
mov edi, 0x1ed
cmp si, di
je 0x435d80
mov cl, byte [ecx + 0x4def1e]
cmp cl, dl
jle 0x435d80
movsx esi, si
nop
movzx edi, word [esp + edx*2 + 0x20]
cmp edi, esi
je 0x435d69
inc edx
cmp edx, 0x15
jb 0x435d50
pop edi
lea eax, [esi + eax - 1]
pop esi
add esp, 0x44
ret
movzx edx, byte [esp + edx + 8]
movsx ecx, cl
add edx, eax
pop edi
lea eax, [ecx + edx + 0x288]
pop esi
add esp, 0x44
ret
movsx edx, si
pop edi
lea eax, [edx + eax - 1]
pop esi
add esp, 0x44
ret
Function at 0x437770
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xe4
push ebx
push ebp
push esi
mov esi, dword [esp + 0xfc]
push edi
mov edi, dword [esi]
mov eax, edi
shr eax, 0xd
and eax, 0x1f
xor edx, edx
mov ebp, 0x18
div ebp
mov dword [ecx], edi
add esi, 8
add ecx, 8
mov ebx, 1
mov dword [esp + 0x14], 0x3020100
mov dword [esp + 0x18], 0x2030100
mov dword [esp + 0x1c], 0x3010200
mov dword [esp + 0x20], 0x2010300
mov dword [esp + 0x24], 0x1030200
mov dword [esp + 0x28], 0x1020300
mov dword [esp + 0x2c], 0x3020001
mov dword [esp + 0x30], 0x2030001
mov dword [esp + 0x34], 0x3010002
mov dword [esp + 0x38], 0x2010003
mov dword [esp + 0x3c], 0x1030002
mov dword [esp + 0x40], 0x1020003
mov dword [esp + 0x44], 0x3000201
mov dword [esp + 0x48], 0x2000301
mov dword [esp + 0x4c], 0x3000102
mov dword [esp + 0x50], 0x2000103
mov dword [esp + 0x54], 0x1000302
mov dword [esp + 0x58], 0x1000203
mov dword [esp + 0x5c], 0x30201
mov dword [esp + 0x60], 0x20301
mov dword [esp + 0x10], edx
mov edx, dword [esi - 4]
mov eax, edx
mov dword [ecx - 4], edx
shr eax, 0x10
mov dword [esp + 0x64], 0x30102
mov dword [esp + 0x68], 0x20103
mov dword [esp + 0x6c], 0x10302
mov dword [esp + 0x70], 0x10203
xor edx, edx
imul eax, eax, 0x41c64e6d
add eax, 0x6073
mov edi, eax
imul eax, eax, 0x41c64e6d
add eax, 0x6073
mov ebp, eax
and ebp, 0xffff0000
xor ebp, dword [esi]
shr edi, 0x10
xor ebp, edi
mov dword [esp + edx*4 + 0x74], ebp
add edx, ebx
add esi, 4
cmp edx, 0x20
jl 0x437872
mov edi, dword [esp + 0x10]
mov dword [0x52bb6c], eax
xor edx, edx
lea edi, [esp + edi*4 + 0x14]
movsx eax, byte [edi + edx]
add eax, eax
add eax, eax
add eax, eax
mov ebp, dword [esp + eax*4 + 0x74]
mov dword [ecx], ebp
mov ebp, dword [esp + eax*4 + 0x78]
lea eax, [esp + eax*4 + 0x74]
mov dword [ecx + 4], ebp
mov ebp, dword [eax + 8]
mov dword [ecx + 8], ebp
mov ebp, dword [eax + 0xc]
mov dword [ecx + 0xc], ebp
mov ebp, dword [eax + 0x10]
mov dword [ecx + 0x10], ebp
mov ebp, dword [eax + 0x14]
mov dword [ecx + 0x14], ebp
mov ebp, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x1c], eax
add edx, ebx
add ecx, 0x20
cmp edx, 4
jl 0x4378b6
cmp dword [esp + 0xf8], 0
jne 0x437977
mov edx, dword [esp + 0x100]
mov ebp, dword [edx]
xor eax, eax
cmp dword [esp + 0xfc], 3
mov dword [0x52bb6c], ebp
setl al
lea eax, [eax*4 + 0x15]
test eax, eax
je 0x437977
mov dword [esp + 0x10], eax
mov edx, dword [esi]
mov eax, ebp
imul eax, eax, 0x41c64e6d
add eax, 0x6073
mov ebp, eax
imul eax, eax, 0x41c64e6d
movzx edi, dx
shr ebp, 0x10
xor edi, ebp
lea ebp, [eax + 0x6073]
xor edx, ebp
and edx, 0xffff0000
or edx, edi
mov dword [ecx], edx
add esi, 4
add ecx, 4
sub dword [esp + 0x10], ebx
jne 0x437934
mov dword [0x52bb6c], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret