joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..retplne
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x74f50fc
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..reloc
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6693054f
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x19162656
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0xd37364c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1001f4cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1001f50e
call fcn.100225a6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1001f50e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1001f505
xor eax, eax
jmp 0x1001f516
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1001f51c
pop edi
pop esi
pop ebx
ret 4

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x7c771ac2
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x2f035cec
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x421060], 1
mov dword [0x42105c], 1
mov dword [0x421058], 1
jne 0x401056
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010b0
mov dword [0x421014], eax
mov eax, dword [0x42106c]
test eax, eax
je 0x4010a0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x421080]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x421068]
mov dword [eax], edx
call dbg._setargv
cmp dword [0x418018], 1
je 0x4010e0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x401070
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x4010f8
cmp dx, 0x20b
jne 0x401056
cmp dword [ecx + 0x84], 0xe
jbe 0x401056
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401056
mov dword [esp], dbg._matherr
call dbg.__mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401056
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401056

Function at 0x401641
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov dword [esp + 4], 0x419048
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._gzopen
mov dword [ebp - 0xc], eax
mov dword [esp + 4], 0x41904b
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
je 0x401682
cmp dword [ebp - 0x10], 0
jne 0x401689
mov eax, 0xffffffff
jmp 0x4016f2
mov dword [ebp - 0x14], 0
jmp 0x4016b6
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
lea eax, [ebp - 0x94]
mov dword [esp], eax
call sym._fwrite
mov dword [esp + 8], pe_nt_image_headers32
lea eax, [ebp - 0x94]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._gzread
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x401692
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._gzclose
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._fclose
leave
ret
Function at 0x4016f4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov dword [esp + 4], 0x419048
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x10], eax
mov dword [esp + 4], 0x41904b
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._gzopen
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x401735
cmp dword [ebp - 0x14], 0
jne 0x40173f
mov eax, 0xffffffff
jmp 0x401837
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 0
jmp 0x401778
mov eax, dword [ebp - 0x18]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
lea eax, [ebp - 0x9c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._gzwrite
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 1
lea eax, [ebp - 0x9c]
mov dword [esp], eax
call sym._fread
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x401756
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._gzclose
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._file_size
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0
fild qword [ebp - 0xb0]
mov eax, dword [ebp - 0xc]
mov edx, 0
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
fild qword [ebp - 0xb0]
fdivp st(1)
fld1
fsubrp st(1)
fld qword [0x419090]
fmulp st(1)
fstp qword [ebp - 0xb0]
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._file_size
fld qword [ebp - 0xb0]
fstp qword [esp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], str.Read__ld_bytes__Wrote__ld_bytes__Compression_factor__4.2f___n
call sym._printf
leave
ret

Function at 0x401839
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov dword [ebp - 0xc], 0
mov dword [esp + 4], 0x41904b
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x10], eax
jmp 0x401885
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
lea eax, [ebp - 0x90]
mov dword [esp], eax
call sym._fwrite
mov dword [esp + 8], pe_nt_image_headers32
lea eax, [ebp - 0x90]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._gzread
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jg 0x401861
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._fclose
nop
leave
ret
Function at 0x4025f0
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x2c
mov eax, dword [eax + 0x50]
test eax, eax
je 0x402609
cmp eax, 0xfffffffb
jne 0x40275a
mov eax, dword [ebx + 0x34]
test eax, eax
jne 0x4026fe
mov esi, dword [ebx + 0x5c]
test esi, esi
je 0x4026a5
lea edx, [esi - 1]
mov eax, dword [ebx + 0x20]
mov edi, dword [ebx + 0x58]
cmp edx, 3
jbe 0x402710
mov edx, edi
or edx, eax
and edx, 3
lea edx, [edi + 1]
jne 0x402713
mov ecx, eax
sub ecx, edx
cmp ecx, 2
jbe 0x402713
mov ebp, esi
mov dword [esp + 0x1c], eax
mov edx, edi
mov ecx, eax
and ebp, 0xfffffffc
add ebp, edi
lea esi, [esi]
mov eax, dword [edx]
add edx, 4
add ecx, 4
mov dword [ecx - 4], eax
cmp ebp, edx
jne 0x402660
mov edx, esi
mov eax, dword [esp + 0x1c]
mov ecx, esi
and edx, 0xfffffffc
add eax, edx
add edi, edx
sub ecx, edx
and esi, 3
je 0x4026a2
movzx edx, byte [edi]
mov byte [eax], dl
cmp ecx, 1
je 0x4026a2
movzx edx, byte [edi + 1]
mov byte [eax + 1], dl
cmp ecx, 2
je 0x4026a2
movzx edx, byte [edi + 2]
mov byte [eax + 2], dl
mov esi, dword [ebx + 0x5c]
mov ebp, dword [ebx + 0x18]
mov eax, dword [ebx + 0x20]
xor edi, edi
mov dword [esp + 0x1c], eax
sub ebp, esi
jmp 0x4026be
add edi, eax
cmp edi, ebp
jae 0x4026f5
mov eax, ebp
mov ecx, 0x40000000
mov edx, dword [esp + 0x1c]
sub eax, edi
cmp eax, ecx
cmova eax, ecx
mov dword [esp + 8], eax
lea eax, [esi + edi]
add eax, edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call sym._read
test eax, eax
jg 0x4026b8
jne 0x402736
mov dword [ebx + 0x34], 1
mov eax, dword [ebx + 0x20]
add dword [ebx + 0x5c], edi
mov dword [ebx + 0x58], eax
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [edi + 1]
add esi, eax
jmp 0x402723
add edx, 1
movzx ecx, byte [edx - 1]
add eax, 1
mov byte [eax - 1], cl
cmp eax, esi
jne 0x402720
jmp 0x4026a2
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call sym._strerror
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp], ebx
call sym._gz_error
mov eax, 0xffffffff
jmp 0x402700
Function at 0x402a90
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, eax
push esi
push ebx
sub esp, 0x10
mov eax, dword [edi + 0x2c]
cmp eax, 1
je 0x402b10
cmp eax, 2
je 0x402ae8
test eax, eax
je 0x402ad0
mov ecx, dword [edi]
test ecx, ecx
jne 0x402ac0
mov edx, dword [edi + 0x34]
test edx, edx
je 0x402a98
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x402a98
lea esi, [esi]
xor eax, eax
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov eax, edi
call sym._gz_look
cmp eax, 0xffffffff
je 0x402b02
mov ebx, dword [edi + 0x2c]
test ebx, ebx
jne 0x402aa9
jmp 0x402ac0
mov eax, dword [edi + 0x18]
add eax, eax
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x24]
mov dword [edi + 0x64], eax
mov eax, edi
call sym._gz_decomp
cmp eax, 0xffffffff
jne 0x402aa9
mov eax, 0xffffffff
jmp 0x402ac2
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x24]
mov dword [edi], 0
lea ebx, [eax + eax]
xor eax, eax
jmp 0x402b30
add eax, dword [edi]
mov dword [edi], eax
cmp eax, ebx
jae 0x402b60
mov edx, ebx
mov ecx, 0x40000000
sub edx, eax
cmp edx, ecx
cmova edx, ecx
add eax, esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [edi + 0x10]
mov dword [esp], eax
call sym._read
test eax, eax
jg 0x402b28
jne 0x402b6b
mov dword [edi + 0x34], 1
mov eax, dword [edi + 0x24]
mov dword [edi + 4], eax
jmp 0x402ac0
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call sym._strerror
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp], edi
call sym._gz_error
jmp 0x402b02
Function at 0x402ba0
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
test ecx, ecx
je 0x402d50
mov ebx, eax
mov eax, dword [eax + 0x4c]
mov edi, edx
mov esi, ecx
test eax, eax
jne 0x402c60
mov edx, dword [ebx]
mov dword [esp + 0x1c], 0
mov ebp, edx
test edx, edx
je 0x402c09
cmp edx, esi
mov eax, dword [ebx + 4]
mov dword [esp], edi
cmova ebp, esi
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call sym._memcpy
add dword [ebx + 4], ebp
lea ecx, [edi + ebp]
sub dword [ebx], ebp
add dword [esp + 0x1c], ebp
mov edi, ecx
add dword [ebx + 8], ebp
sub esi, ebp
je 0x402cdd
mov edx, dword [ebx]
mov ebp, edx
test edx, edx
jne 0x402bd0
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x402c1b
mov edx, dword [ebx + 0x5c]
test edx, edx
je 0x402cd6
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x402d40
mov eax, dword [ebx + 0x18]
add eax, eax
cmp esi, eax
jb 0x402d40
cmp ecx, 1
je 0x402cfa
mov dword [ebx + 0x68], esi
mov eax, ebx
mov dword [ebx + 0x64], edi
call sym._gz_decomp
cmp eax, 0xffffffff
je 0x402d50
mov ebp, dword [ebx]
mov dword [ebx], 0
lea ecx, [edi + ebp]
jmp 0x402bf0
mov ebp, dword [ebx + 0x48]
mov dword [ebx + 0x4c], 0
test ebp, ebp
je 0x402bc0
mov edx, dword [ebx]
test edx, edx
jne 0x402ca0
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x402c8a
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x402bc2
mov eax, ebx
call sym._gz_fetch
cmp eax, 0xffffffff
je 0x402d50
mov edx, dword [ebx]
test edx, edx
je 0x402c78
mov dword [esp + 0x18], edx
call sym._gz_intmax
mov edx, dword [esp + 0x18]
cmp eax, edx
mov edx, dword [ebx]
jb 0x402d60
cmp ebp, edx
jl 0x402d60
add dword [ebx + 4], edx
add dword [ebx + 8], edx
mov dword [ebx], 0
sub ebp, edx
jne 0x402c72
xor edx, edx
jmp 0x402bc2
mov dword [ebx + 0x38], 1
mov eax, dword [esp + 0x1c]
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
add ebp, eax
cmp ebp, esi
jae 0x402c5a
mov eax, esi
mov ecx, 0x40000000
sub eax, ebp
cmp eax, ecx
cmova eax, ecx
lea ecx, [edi + ebp]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp], eax
call sym._read
mov ecx, dword [esp + 0x18]
test eax, eax
jg 0x402cf0
jne 0x402d6f
mov dword [ebx + 0x34], 1
jmp 0x402bf0
mov eax, ebx
call sym._gz_fetch
cmp eax, 0xffffffff
jne 0x402c01
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x402cdd
sub edx, ebp
add dword [ebx + 4], ebp
add dword [ebx + 8], ebp
mov dword [ebx], edx
jmp 0x402bc2
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call sym._strerror
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp], ebx
call sym._gz_error
jmp 0x402d50
Function at 0x405bb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ebx
sub esp, 0x14
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x405c0d
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x405c0d
mov esi, dword [ebx + 0x24]
test esi, esi
je 0x405c0d
mov esi, dword [ebx + 0x1c]
mov eax, 0xfffffffe
test esi, esi
je 0x405bfa
cmp ebx, dword [esi]
jne 0x405bfa
mov edx, dword [esi + 4]
cmp edx, 0x2a
je 0x405c28
cmp edx, 0x39
je 0x405c28
cmp edx, 0x71
jg 0x405c20
cmp edx, 0x5a
jg 0x405c00
sub edx, 0x45
and edx, 0xfffffffb
je 0x405c28
add esp, 0x14
pop ebx
pop esi
ret
sub edx, 0x5b
mov eax, 0x401001
bt eax, edx
jb 0x405c28
add esp, 0x14
mov eax, 0xfffffffe
pop ebx
pop esi
ret
cmp edx, 0x29a
jne 0x405bfa
mov eax, dword [esi + 8]
mov dword [ebx + 0x14], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x2c], 2
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x14], 0
test eax, eax
jns 0x405c5d
neg eax
mov dword [esi + 0x18], eax
cmp eax, 2
je 0x405d50
mov dword [esi + 4], 0x2a
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._adler32
mov dword [ebx + 0x30], eax
mov dword [esi + 0x28], 0xfffffffe
mov dword [esp], esi
call sym.__tr_init
mov ebx, dword [ebx + 0x1c]
xor ecx, ecx
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x4c]
add eax, eax
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x44]
mov word [eax + edx*2 - 2], cx
lea edx, [edx + edx - 2]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._memset
mov eax, dword [ebx + 0x84]
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x5c], 0
lea eax, [eax + eax*2]
mov dword [ebx + 0x74], 0
shl eax, 2
mov dword [ebx + 0x78], 2
movzx edx, word [eax + 0x419362]
mov dword [ebx + 0x60], 2
mov dword [ebx + 0x16b4], 0
mov dword [ebx + 0x80], edx
movzx edx, word [eax + 0x419360]
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x8c], edx
movzx edx, word [eax + 0x419364]
movzx eax, word [eax + 0x419366]
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x90], edx
mov dword [ebx + 0x7c], eax
add esp, 0x14
xor eax, eax
pop ebx
pop esi
ret
mov dword [esi + 4], 0x39
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._crc32
jmp 0x405c89
Function at 0x410960
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4109c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x421074]
test esi, esi
jle 0x410ae0
mov eax, dword [0x421078]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x4109f4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x410a77
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x4109e0
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x410b07
mov eax, dword [0x421078]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0x421078]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x410ae7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x410a70
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x410a80
add dword [0x421074], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x421078]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x410a70
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x4109fe
mov eax, dword [0x421078]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop
Function at 0x411020
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x421090
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x421088]
sub esp, 4
test ebx, ebx
je 0x411075
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x41106e
test esi, esi
je 0x41106e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x411050
mov dword [esp], 0x421090
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4113b0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x4113d5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x4113e0
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x4113d5
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x411428
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x41141e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x41142a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x411410
xor eax, eax
pop ebx
pop esi
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219