joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431401
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0041d250
mov eax, dword [0x44f100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0042fcdc
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x431443
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4315ba
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041d010
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1014], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x451208]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00432620
mov ecx, dword [esi*4 + 0x451208]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x1020], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4315b3
cmp eax, dword [edi + ecx + 0x24]
jne 0x4315b3
xor esi, esi
lea eax, [ebp - 0x101c]
push esi
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4315b3
push dword [ebp - 0x100c]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00432620
add esp, 0x14
cmp edx, esi
jl 0x4315b3
jg 0x43150e
cmp eax, esi
jb 0x4315b3
mov ebx, dword [ebp - 0x1014]
mov eax, dword [ebp - 0x101c]
cmp ebx, esi
jg 0x4315b3
jl 0x431530
cmp dword [ebp - 0x1008], eax
ja 0x4315b3
lea edi, [ebp - 0x1004]
xorps xmm0, xmm0
add edi, eax
movlpd qword [ebp - 0x1018], xmm0
lea ecx, [ebp - 0x1004]
cmp dword [ebp - 0x1008], esi
jne 0x431555
cmp ebx, esi
je 0x43159a
mov edx, dword [ebp - 0x1014]
mov esi, dword [ebp - 0x1018]
cmp ecx, edi
jae 0x43159a
mov al, byte [ecx]
cmp al, 0xd
jne 0x43157b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x431587
cmp byte [ecx + 1], 0xa
jne 0x431587
inc ecx
jmp 0x431587
movzx eax, al
movsx eax, byte [eax + 0x44f3c0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x431561
cmp edx, ebx
jne 0x431561
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x1020]
jmp 0x4315b8
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0041cffe
leave
ret
Function at 0x431a07
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x431a21
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x431a38
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x431a90
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.004377ff
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x431a90
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x431a90
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x431a90
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x431a8a
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x431a8c
xor bl, bl
mov al, bl
jmp 0x431a92
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x431aac
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
sar ecx, 6
and eax, 0x3f
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x451208]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x431aee
cmp byte [ebx], 0xa
jne 0x431aee
or byte [edi + eax + 0x28], 4
jmp 0x431af3
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x431bf6
mov cl, byte [eax]
cmp cl, 0x1a
je 0x431bd1
lea ebx, [eax + 1]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
cmp cl, 0xd
je 0x431b22
mov eax, dword [ebp - 8]
jmp 0x431b42
mov edx, dword [ebp - 0x10]
cmp dword [ebp - 8], edx
mov edx, dword [ebp + 8]
jae 0x431b5e
mov ebx, dword [ebp - 8]
cmp byte [ebx], 0xa
jne 0x431b3c
add eax, 2
mov cl, 0xa
jmp 0x431b3f
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov byte [esi], cl
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
add esi, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0x431b04
jmp 0x431bf6
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 0x431bcc
cmp dword [ebp - 0x10], 0
je 0x431bcc
mov edx, dword [ebp - 0x18]
mov eax, dword [edx*4 + 0x451208]
test byte [eax + edi + 0x28], 0x48
je 0x431bab
mov cl, byte [ebp - 1]
cmp cl, 0xa
jne 0x431b9b
mov byte [esi], 0xa
jmp 0x431bf5
mov byte [esi], 0xd
mov eax, dword [edx*4 + 0x451208]
mov byte [eax + edi + 0x2a], cl
jmp 0x431bf5
cmp byte [ebp - 1], 0xa
jne 0x431bb5
cmp esi, ebx
je 0x431b96
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0043263e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x431bf6
mov byte [esi], 0xd
jmp 0x431bf5
mov eax, edx
and edx, 0x3f
sar eax, 6
imul edx, edx, 0x38
mov edi, dword [eax*4 + 0x451208]
mov al, byte [edi + edx + 0x28]
test al, 0x40
jne 0x431bf3
or al, 2
mov byte [edi + edx + 0x28], al
jmp 0x431bf6
mov byte [esi], cl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x431bff
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
and eax, 0x3f
push ebx
mov ebx, dword [ebp + 0xc]
sar edx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [edx*4 + 0x451208]
mov dword [ebp - 8], edx
mov edx, dword [eax + edi + 0x18]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x431c43
push 0xa
pop esi
cmp word [ebx], si
jne 0x431c43
or byte [eax + edi + 0x28], 4
jmp 0x431c48
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + edx*2]
mov eax, ebx
mov dword [ebp - 0x10], edx
mov esi, ebx
cmp ebx, edx
jae 0x431db3
movzx edx, word [eax]
mov ecx, edx
mov dword [ebp - 0xc], ecx
movzx ecx, cx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
cmp edx, 0x1a
je 0x431d8b
lea ebx, [eax + 2]
mov dword [ebp - 4], ebx
push 0xd
pop ebx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
je 0x431c95
mov ebx, dword [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 4]
movzx ebx, bx
mov dword [ebp - 4], ebx
jmp 0x431cbf
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x431cde
push 0xa
pop ebx
cmp word [edx], bx
jne 0x431cac
push ebx
add eax, 4
pop edx
jmp 0x431cb4
mov eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, dx
movzx edx, dx
mov dword [ebp - 4], edx
mov edx, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 2
mov word [esi], cx
mov esi, dword [ebp - 0xc]
add esi, edx
cmp eax, dword [ebp - 0x10]
jb 0x431c5a
jmp 0x431db3
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x431d86
cmp dword [ebp - 0x14], 0
je 0x431d86
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax*4 + 0x451208]
test byte [eax + edi + 0x28], 0x48
pop eax
je 0x431d62
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x431d2a
mov word [esi], ax
jmp 0x431db0
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebp - 8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov eax, dword [eax*4 + 0x451208]
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x451208]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x451208]
pop ecx
mov byte [eax + edi + 0x2c], cl
jmp 0x431db0
cmp word [ebp - 4], ax
jne 0x431d6c
cmp esi, ebx
je 0x431d22
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0043263e
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x431db3
push 0xd
pop eax
jmp 0x431d22
mov eax, ecx
and ecx, 0x3f
sar eax, 6
imul ecx, ecx, 0x38
mov edi, dword [eax*4 + 0x451208]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x431dad
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x431db3
mov word [esi], dx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x434062
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00433fe3
Function at 0x43680a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4368a7
push ebx
push esi
call fcn.004367d3
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004356c1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x436854
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4368a6
push edi
push eax
call fcn.00432820
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x436874
call fcn.0042ea20
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4368a5
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004356c1
add esp, 0x20
test eax, eax
jne 0x436893
push edi
call fcn.0042ea20
jmp 0x43689b
push ebx
call fcn.0042ea20
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x439705
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042e848
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x439774
cmp esi, dword [ebp - 4]
je 0x43976f
cmp dword [ebp + 0xc], 0
je 0x43976f
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x43974c
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0043925a
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x439776
xor eax, eax
inc eax
jmp 0x439776
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4397e1
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x44f100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0042e848
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0042e848
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x439858
cmp word [ecx], dx
je 0x439858
mov eax, dword [0x44673c]
push edi
dec eax
push eax
push 0x446628
call fcn.0043977a
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4398cb
cmp word [eax], dx
je 0x4398cb
mov eax, dword [edi]
test eax, eax
je 0x43987c
cmp word [eax], dx
je 0x43987c
lea eax, [ebp - 0x10]
push eax
call fcn.00439160
jmp 0x439885
lea eax, [ebp - 0x10]
push eax
call fcn.004391fb
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4398f5
mov eax, dword [0x446624]
push dword [ebp - 0x14]
dec eax
push eax
push 0x446318
call fcn.0043977a
add esp, 0xc
test al, al
je 0x4398f5
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4398c0
cmp word [eax], di
je 0x4398c0
lea eax, [ebp - 0x10]
push eax
call fcn.00439160
pop ecx
jmp 0x4398f7
lea eax, [ebp - 0x10]
push eax
call fcn.004391fb
jmp 0x4398bd
mov eax, dword [edi]
test eax, eax
je 0x4398e2
cmp word [eax], dx
je 0x4398e2
lea eax, [ebp - 0x10]
push eax
call fcn.00439115
pop ecx
jmp 0x4398f5
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4399c0
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004395ff
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4399c0
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4399c0
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4399c0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43994d
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0042f5ef
test ebx, ebx
je 0x4399bb
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0042f5ef
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4399c0
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4399c0
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00433cc1
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4399c2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cffe
leave
ret
Function at 0x43d955
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.0043d8d1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x43dac4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x43dac4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x43da79
jg 0x43d9b1
test eax, eax
je 0x43da6f
push 1
push 0x1000
call fcn.0042e9c0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x43d9d4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x43da66
push 0x8000
push ebx
call fcn.0042c409
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x43d9fd
jg 0x43d9f8
cmp ecx, 0x1000
jb 0x43d9fd
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00430a7a
add esp, 0x10
cmp eax, 0xffffffff
je 0x43da42
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 0x43d9f8
jl 0x43da29
test ecx, ecx
jne 0x43d9ea
push dword [ebp - 0xc]
push ebx
call fcn.0042c409
push esi
call fcn.0042ea20
add esp, 0xc
xor ebx, ebx
jmp 0x43dad2
cmp byte [edi + 0x24], 0
je 0x43da59
cmp dword [edi + 0x20], 5
jne 0x43da59
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x43da64
mov ebx, dword [edi + 0x18]
jmp 0x43da66
xor ebx, ebx
push esi
call fcn.0042ea20
pop ecx
jmp 0x43dad2
test ecx, ecx
jg 0x43da3b
jl 0x43da79
test eax, eax
jae 0x43da3b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043263e
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x43da99
cmp byte [edi + 0x1c], 0
je 0x43da3b
jmp 0x43daca
push ebx
call fcn.004377ff
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43da3b
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 0x43dad2
cmp byte [edi + 0x1c], 0
je 0x43dacf
mov ebx, dword [edi + 0x18]
jmp 0x43dad2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0043263e
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43ea90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43eabd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43eabd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x1f91c3b
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4e23764c
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0xb67120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x709000]
push edi
jmp 0xb6713a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xb67141
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb67130
mov eax, 1
add ebx, ebx
jne 0xb67153
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xb67164
jne 0xb67183
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb67183
dec eax
add ebx, ebx
jne 0xb67170
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xb67148
add ebx, ebx
jne 0xb6717f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xb671d5
xor ecx, ecx
sub eax, 3
jb 0xb6719b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xb6720a
sar eax, 1
mov ebp, eax
jmp 0xb671a6
add ebx, ebx
jne 0xb671a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb67174
inc ecx
add ebx, ebx
jne 0xb671b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb67174
add ebx, ebx
jne 0xb671c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xb671b6
jne 0xb671d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xb671b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xb671f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xb671e6
jmp 0xb67136
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xb671f4
add edi, ecx
jmp 0xb67136
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xb67212
cmp byte [edi], 0x11
jne 0xb67212
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 0xb67217
lea edi, [esi + 0x760000]
mov eax, dword [edi]
or eax, eax
je 0xb6728f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xde9910]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xde9a8c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xb67244
mov ecx, edi
jns 0xb67273
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 + 0xde9a90]
or eax, eax
je 0xb67289
mov dword [ebx], eax
add ebx, 4
jmp 0xb67261
call dword [esi + 0xde9aa0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xb672c0
cmp al, 0xef
ja 0xb672b3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xb67295
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xb672a2
mov ebp, dword [esi + 0xde9a94]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0xb672f4
sub esp, 0xffffff80
jmp 0x420577
Function at 0x402da0
Capabilities:
Accept command line arguments
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov edx, 2
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
cmp word [eax + ecx + 0x5c], 2
je 0x402df0
mov edx, 1
mov dword [esp], edx
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x402e10
mov dword [esp], eax
call sub.ucrtbase.dll_exit
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x54
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x402e67
xor ecx, ecx
xor edx, edx
jmp 0x402e49
cmp ax, 0x5c
jne 0x402ed8
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x402e67
cmp ax, 9
je 0x402e55
cmp ax, 0x20
jne 0x402e30
test ecx, ecx
je 0x402ec3
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x402e49
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x20], 1
je 0x402ef8
movzx esi, word [ebp - 0x1c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004021c0
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
add ebx, 2
movzx eax, word [ebx]
cmp ax, 9
je 0x402ec0
cmp ax, 0x20
je 0x402ec0
jmp 0x402e67
cmp ax, 0x22
jne 0x402e59
and edx, 1
jne 0x402e59
xor ecx, 1
jmp 0x402e3d
mov eax, 1
mov esi, 1
mov word [ebp - 0x1c], ax
jmp 0x402e80