joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412c20
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [0x44e628]
sub esp, 8
mov ecx, edx
mov eax, ecx
push esi
mov esi, dword [0x44e62c]
or eax, esi
jne 0x412c4f
mov dword [0x44e628], 1
lea edx, [eax + 1]
mov dword [0x44e62c], eax
xor esi, esi
cmp dword [ebp + 8], 0
je 0x412c8c
cmp dword [0x44e620], 0
jne 0x412c6c
xor eax, eax
push eax
push eax
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
jmp 0x412cbb
cmp dword [0x44e624], 7
mov eax, 0x44e610
cmova eax, dword [0x44e610]
push eax
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
jmp 0x412cbb
cmp dword [0x44e620], 0
jne 0x412c99
xor eax, eax
jmp 0x412cac
cmp dword [0x44e624], 7
mov eax, 0x44e610
cmova eax, dword [0x44e610]
push eax
push edx
push esi
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [0x44e634], eax
cmp eax, 0xffffffff
jne 0x412d55
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [vtable.CDebugPrint.0]
mov ecx, 0x44c958
push str.Cannot
mov esi, eax
mov dword [0x44cba0], 2
call dword [edx + 0x1c]
cmp dword [ebp + 8], 0
mov ecx, str.open
mov ebx, str.create
cmove ecx, ebx
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
push str._file_mapping__
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push 0x44e610
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
push str.__:
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
push 0xd
mov esi, eax
call fcn.00405920
push 0xa
call fcn.00405920
push 0
mov ecx, esi
call fcn.00405650
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
test eax, eax
je 0x412dcf
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x44e630], eax
test eax, eax
jne 0x412dcf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [vtable.CDebugPrint.0]
mov ecx, 0x44c958
push str.Cannot_mapview_file_mapping__
mov esi, eax
mov dword [0x44cba0], 2
call dword [edx + 0x1c]
push 0x44e610
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
push str.__:
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
push 0xd
mov esi, eax
call fcn.00405920
push 0xa
call fcn.00405920
push 0
mov ecx, esi
call fcn.00405650
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x412de0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [0x44e5a0]
sub esp, 8
mov ecx, edx
mov eax, ecx
push esi
mov esi, dword [0x44e5a4]
or eax, esi
jne 0x412e0f
mov dword [0x44e5a0], 1
lea edx, [eax + 1]
mov dword [0x44e5a4], eax
xor esi, esi
cmp dword [ebp + 8], 0
je 0x412e4c
cmp dword [0x44e598], 0
jne 0x412e2c
xor eax, eax
push eax
push eax
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
jmp 0x412e7b
cmp dword [0x44e59c], 7
mov eax, 0x44e588
cmova eax, dword [0x44e588]
push eax
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
jmp 0x412e7b
cmp dword [0x44e598], 0
jne 0x412e59
xor eax, eax
jmp 0x412e6c
cmp dword [0x44e59c], 7
mov eax, 0x44e588
cmova eax, dword [0x44e588]
push eax
push edx
push esi
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [0x44e5ac], eax
cmp eax, 0xffffffff
jne 0x412f15
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [vtable.CDebugPrint.0]
mov ecx, 0x44c958
push str.Cannot
mov esi, eax
mov dword [0x44cba0], 2
call dword [edx + 0x1c]
cmp dword [ebp + 8], 0
mov ecx, str.open
mov ebx, str.create
cmove ecx, ebx
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
push str._file_mapping__
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push 0x44e588
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
push str.__:
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
push 0xd
mov esi, eax
call fcn.00405920
push 0xa
call fcn.00405920
push 0
mov ecx, esi
call fcn.00405650
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
test eax, eax
je 0x412f8f
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x44e5a8], eax
test eax, eax
jne 0x412f8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [vtable.CDebugPrint.0]
mov ecx, 0x44c958
push str.Cannot_mapview_file_mapping__
mov esi, eax
mov dword [0x44cba0], 2
call dword [edx + 0x1c]
push 0x44e588
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
push str.__:
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
push 0xd
mov esi, eax
call fcn.00405920
push 0xa
call fcn.00405920
push 0
mov ecx, esi
call fcn.00405650
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x415670
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x44c040]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
push edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x4156d0
xorps xmm0, xmm0
mov ecx, esi
push eax
movups xmmword [esi], xmm0
push 0x43f0e7
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.00414810
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0041713e
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
mov dword [esp + 0x30], 0
mov ecx, edx
mov dword [esp + 0x34], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415700
sub ecx, dword [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.00414810
mov ax, word [edi + 8]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x18]
mov word [ecx], ax
xor eax, eax
mov word [ecx + 2], ax
mov eax, dword [edi + 0xc]
pop edi
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ecx + 4], eax
mov eax, esi
mov ecx, dword [esp + 0x48]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [esp + 0x1c]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x2c]
movq qword [esi + 0x10], xmm0
pop esi
xor ecx, esp
call fcn.0041713e
mov esp, ebp
pop ebp
ret
Function at 0x415d20
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [0x44e780]
sub esp, 8
mov ecx, edx
mov eax, ecx
push esi
mov esi, dword [0x44e784]
or eax, esi
jne 0x415d4f
mov dword [0x44e780], 1
lea edx, [eax + 1]
mov dword [0x44e784], eax
xor esi, esi
cmp dword [ebp + 8], 0
je 0x415d8c
cmp dword [0x44e778], 0
jne 0x415d6c
xor eax, eax
push eax
push eax
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
jmp 0x415dbb
cmp dword [0x44e77c], 7
mov eax, 0x44e768
cmova eax, dword [0x44e768]
push eax
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
jmp 0x415dbb
cmp dword [0x44e778], 0
jne 0x415d99
xor eax, eax
jmp 0x415dac
cmp dword [0x44e77c], 7
mov eax, 0x44e768
cmova eax, dword [0x44e768]
push eax
push edx
push esi
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [0x44e78c], eax
cmp eax, 0xffffffff
jne 0x415e55
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [vtable.CDebugPrint.0]
mov ecx, 0x44c958
push str.Cannot
mov esi, eax
mov dword [0x44cba0], 2
call dword [edx + 0x1c]
cmp dword [ebp + 8], 0
mov ecx, str.open
mov ebx, str.create
cmove ecx, ebx
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
push str._file_mapping__
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push 0x44e768
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
push str.__:
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
push 0xd
mov esi, eax
call fcn.00405920
push 0xa
call fcn.00405920
push 0
mov ecx, esi
call fcn.00405650
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
test eax, eax
je 0x415ecf
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x44e788], eax
test eax, eax
jne 0x415ecf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [vtable.CDebugPrint.0]
mov ecx, 0x44c958
push str.Cannot_mapview_file_mapping__
mov esi, eax
mov dword [0x44cba0], 2
call dword [edx + 0x1c]
push 0x44e768
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
push str.__:
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
push 0xd
mov esi, eax
call fcn.00405920
push 0xa
call fcn.00405920
push 0
mov ecx, esi
call fcn.00405650
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x417fe7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x418026
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x418026
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x418026
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x418026
cmp dword [ecx + 0x74], 0xe
jbe 0x418026
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42b254
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4399b0
push 0x4399a8
push str.FlsAlloc
push 0x1f
call fcn.0042b14f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42b288
push dword [ebp + 8]
mov ecx, esi
call dword [0x436358]
call esi
jmp 0x42b28e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x42b2d2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4399c0
push 0x4399b8
push str.FlsGetValue
push 0x21
call fcn.0042b14f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42b309
push dword [ebp + 8]
mov ecx, esi
call dword [0x436358]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42b311
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4399c8
push 0x4399c0
push str.FlsSetValue
push 0x22
call fcn.0042b14f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42b34b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x436358]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x42bb93
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x44c040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x42bbde
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0042bd2e
test al, al
jne 0x42bbd8
sub edx, 2
cmp edx, edi
jne 0x42bbbe
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x42bc00
lea eax, [edi + 2]
cmp edx, eax
je 0x42bc00
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0042badf
add esp, 0x10
jmp 0x42bcfa
push esi
lea ecx, [ebp - 0x255]
call fcn.0042bd2e
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42bc43
push dword [ebp - 0x25c]
jmp 0x42bbf0
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x42bc80
cmp word [ebp - 0x226], 0
je 0x42bca1
cmp word [ebp - 0x226], ax
jne 0x42bc80
cmp word [ebp - 0x224], 0
je 0x42bca1
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0042badf
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x42bced
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x42bc5a
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x42bcd5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x42bcfa
push 0x42b90f
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00431570
add esp, 0x10
jmp 0x42bcca
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041713e
leave
ret
Function at 0x430325
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x44db58]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x430365
cmp byte [ebx], 0xa
jne 0x430365
or byte [edi + eax + 0x28], 4
jmp 0x43036a
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x430469
mov dl, byte [eax]
cmp dl, 0x1a
je 0x43044c
inc eax
cmp dl, 0xd
je 0x430396
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4303bc
cmp eax, ecx
jae 0x4303ca
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x43037e
jmp 0x430469
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x430447
cmp dword [ebp - 0x10], 0
je 0x430447
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x44db58]
test byte [eax + edi + 0x28], 0x48
je 0x430421
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x43040c
mov byte [esi], dl
jmp 0x43041d
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x44db58]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x430469
cmp byte [ebp - 1], 0xa
jne 0x430430
cmp esi, ebx
jne 0x430430
mov byte [esi], 0xa
jmp 0x430468
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00430239
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x430469
mov byte [esi], 0xd
jmp 0x430468
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x44db58]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x430466
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x430469
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x430472
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x44db58]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4304b8
cmp word [ebx], dx
jne 0x4304b8
or byte [eax + edi + 0x28], 4
jmp 0x4304bd
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x430620
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x430600
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4304fe
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x430534
cmp eax, edx
jae 0x430542
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x4304d9
jmp 0x430620
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4305fb
cmp dword [ebp - 0x18], 0
je 0x4305fb
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x44db58]
test byte [eax + edi + 0x28], 0x48
je 0x4305d1
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x430595
mov word [esi], cx
jmp 0x4305cc
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x44db58]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x44db58]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x44db58]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x430620
pop eax
cmp word [ebp - 4], ax
jne 0x4305e1
cmp esi, ebx
jne 0x4305e1
mov word [esi], ax
jmp 0x43061d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00430239
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x430620
push 0xd
pop eax
jmp 0x4305dc
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x44db58]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x43061a
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x430620
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x432465
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.004323e1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4325d4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4325d4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x432589
jg 0x4324c1
test eax, eax
je 0x43257f
push 1
push 0x1000
call fcn.0042aff3
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4324e4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x432576
push 0x8000
push ebx
call fcn.00426b88
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x43250d
jg 0x432508
cmp ecx, 0x1000
jb 0x43250d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0042a8a5
add esp, 0x10
cmp eax, 0xffffffff
je 0x432552
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x432508
jl 0x432539
test ecx, ecx
jne 0x4324fa
push dword [ebp - 0xc]
push ebx
call fcn.00426b88
push esi
call fcn.004283df
add esp, 0xc
xor ebx, ebx
jmp 0x4325e2
cmp byte [edi + 0x24], 0
je 0x432569
cmp dword [edi + 0x20], 5
jne 0x432569
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x432574
mov ebx, dword [edi + 0x18]
jmp 0x432576
xor ebx, ebx
push esi
call fcn.004283df
pop ecx
jmp 0x4325e2
test ecx, ecx
jg 0x43254b
jl 0x432589
test eax, eax
jae 0x43254b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00430239
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4325a9
cmp byte [edi + 0x1c], 0
je 0x43254b
jmp 0x4325da
push ebx
call fcn.0042d010
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43254b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4325e2
cmp byte [edi + 0x1c], 0
je 0x4325df
mov ebx, dword [edi + 0x18]
jmp 0x4325e2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00430239
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433fb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x433fdd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x433fdd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0xe40e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x597000]
push edi
or ebp, 0xffffffff
jmp 0xe40e82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xe40e89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe40e78
mov eax, 1
add ebx, ebx
jne 0xe40e9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xe40eac
jne 0xe40ecb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe40ecb
dec eax
add ebx, ebx
jne 0xe40eb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xe40e90
add ebx, ebx
jne 0xe40ec7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xe40f1d
xor ecx, ecx
sub eax, 3
jb 0xe40ee3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xe40f52
sar eax, 1
mov ebp, eax
jmp 0xe40eee
add ebx, ebx
jne 0xe40eee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe40ebc
inc ecx
add ebx, ebx
jne 0xe40efc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe40ebc
add ebx, ebx
jne 0xe40f09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xe40efe
jne 0xe40f1a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xe40efe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xe40f3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xe40f2e
jmp 0xe40e7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xe40f3c
add edi, ecx
jmp 0xe40e7e
pop esi
lea edi, [esi + 0x436000]
mov ecx, 0x3be0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xe40f5e
cmp byte [edi], 0x16
jne 0xe40f5e
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 0xe40f63
lea edi, [esi + 0xa18000]
mov eax, dword [edi]
or eax, eax
je 0xe40fd2
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa72404]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa72478]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xe40f90
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa72480]
or eax, eax
je 0xe40fcc
mov dword [ebx], eax
add ebx, 4
jmp 0xe40fad
call dword [esi + 0xa7247c]
mov ebp, dword [esi + 0xa72484]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x28f]
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 0xe41006
sub esp, 0xffffff80
jmp 0x8d8f22