joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1428a6b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1428aaa
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1428aaa
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1428aaa
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1428aaa
cmp dword [ecx + 0x74], 0xe
jbe 0x1428aaa
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x143b31b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x144fd48
push 0x144fd40
push str.FlsAlloc
push 0x1f
call fcn.0143b1e3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x143b34f
push dword [ebp + 8]
mov ecx, esi
call dword [0x144c1bc]
call esi
jmp 0x143b355
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x143b399
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x144fd58
push 0x144fd50
push str.FlsGetValue
push 0x21
call fcn.0143b1e3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x143b3d0
push dword [ebp + 8]
mov ecx, esi
call dword [0x144c1bc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x143b3d8
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x144fd60
push 0x144fd58
push str.FlsSetValue
push 0x22
call fcn.0143b1e3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x143b412
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x144c1bc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x143e96a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0144a150
mov eax, dword [0x158f040]
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.0143b94e
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x143e9ac
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x143eb08
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.01449fe0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x15bbb70]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.01440158
mov ecx, dword [esi*4 + 0x15bbb70]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x143eb01
cmp eax, dword [ecx + edi + 0x24]
jne 0x143eb01
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x143eb01
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.01440158
add esp, 0x14
test edx, edx
jl 0x143eb01
jg 0x143ea77
test eax, eax
jb 0x143eb01
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x143eb01
jl 0x143ea91
cmp dword [ebp - 0x1008], eax
ja 0x143eb01
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x143eaaf
test ebx, ebx
je 0x143eae8
cmp ecx, edi
jae 0x143eae8
mov al, byte [ecx]
cmp al, 0xd
jne 0x143eac9
lea eax, [edi - 1]
cmp ecx, eax
jae 0x143ead5
cmp byte [ecx + 1], 0xa
jne 0x143ead5
inc ecx
jmp 0x143ead5
movzx eax, al
movsx eax, byte [eax + 0x158f370]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x143eaaf
cmp edx, ebx
jne 0x143eaaf
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x143eb06
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.014285d0
leave
ret
Function at 0x143f5f0
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 + 0x15bbb70]
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 0x143f630
cmp byte [ebx], 0xa
jne 0x143f630
or byte [edi + eax + 0x28], 4
jmp 0x143f635
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 0x143f734
mov dl, byte [eax]
cmp dl, 0x1a
je 0x143f717
inc eax
cmp dl, 0xd
je 0x143f661
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x143f687
cmp eax, ecx
jae 0x143f695
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 0x143f649
jmp 0x143f734
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 0x143f712
cmp dword [ebp - 0x10], 0
je 0x143f712
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x15bbb70]
test byte [eax + edi + 0x28], 0x48
je 0x143f6ec
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x143f6d7
mov byte [esi], dl
jmp 0x143f6e8
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x15bbb70]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x143f734
cmp byte [ebp - 1], 0xa
jne 0x143f6fb
cmp esi, ebx
jne 0x143f6fb
mov byte [esi], 0xa
jmp 0x143f733
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.01440176
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x143f734
mov byte [esi], 0xd
jmp 0x143f733
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x15bbb70]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x143f731
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x143f734
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x143f73d
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 + 0x15bbb70]
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 0x143f783
cmp word [ebx], dx
jne 0x143f783
or byte [eax + edi + 0x28], 4
jmp 0x143f788
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 0x143f8eb
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 0x143f8cb
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x143f7c9
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x143f7ff
cmp eax, edx
jae 0x143f80d
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 0x143f7a4
jmp 0x143f8eb
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 0x143f8c6
cmp dword [ebp - 0x18], 0
je 0x143f8c6
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x15bbb70]
test byte [eax + edi + 0x28], 0x48
je 0x143f89c
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 0x143f860
mov word [esi], cx
jmp 0x143f897
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x15bbb70]
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 + 0x15bbb70]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x15bbb70]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x143f8eb
pop eax
cmp word [ebp - 4], ax
jne 0x143f8ac
cmp esi, ebx
jne 0x143f8ac
mov word [esi], ax
jmp 0x143f8e8
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.01440176
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x143f8eb
push 0xd
pop eax
jmp 0x143f8a7
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x15bbb70]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x143f8e5
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x143f8eb
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 0x14414a6
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 0x1441543
push ebx
push esi
call fcn.0144146f
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.01441403
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x14414f0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1441542
push edi
push eax
call fcn.0143c630
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1441510
call fcn.0143af01
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1441541
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.01441403
add esp, 0x20
test eax, eax
jne 0x144152f
push edi
call fcn.0143af01
jmp 0x1441537
push ebx
call fcn.0143af01
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 0x1443fb2
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0143beb7
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 0x1444021
cmp esi, dword [ebp - 4]
je 0x144401c
cmp dword [ebp + 0xc], 0
je 0x144401c
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1443ff9
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.01443b04
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1444023
xor eax, eax
inc eax
jmp 0x1444023
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1444088
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x158f040]
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.0143beb7
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.0143beb7
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 0x14440ff
cmp word [ecx], dx
je 0x14440ff
mov eax, dword [0x14508e4]
push edi
dec eax
push eax
push 0x14507d0
call fcn.01444027
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1444172
cmp word [eax], dx
je 0x1444172
mov eax, dword [edi]
test eax, eax
je 0x1444123
cmp word [eax], dx
je 0x1444123
lea eax, [ebp - 0x10]
push eax
call fcn.01443a0a
jmp 0x144412c
lea eax, [ebp - 0x10]
push eax
call fcn.01443aa5
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x144419c
mov eax, dword [0x14507cc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x14504c0
call fcn.01444027
add esp, 0xc
test al, al
je 0x144419c
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1444167
cmp word [eax], di
je 0x1444167
lea eax, [ebp - 0x10]
push eax
call fcn.01443a0a
pop ecx
jmp 0x144419e
lea eax, [ebp - 0x10]
push eax
call fcn.01443aa5
jmp 0x1444164
mov eax, dword [edi]
test eax, eax
je 0x1444189
cmp word [eax], dx
je 0x1444189
lea eax, [ebp - 0x10]
push eax
call fcn.014439bf
pop ecx
jmp 0x144419c
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 0x1444267
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.01443eac
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1444267
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1444267
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1444267
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x14441f4
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0143b518
test ebx, ebx
je 0x1444262
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0143b518
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1444267
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 0x1444267
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.01448284
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1444269
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.014285d0
leave
ret
Function at 0x144851e
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.0144849a
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x144868d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x144868d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1448642
jg 0x144857a
test eax, eax
je 0x1448638
push 1
push 0x1000
call fcn.0143aea4
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x144859d
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x144862f
push 0x8000
push ebx
call fcn.01437f4a
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x14485c6
jg 0x14485c1
cmp ecx, 0x1000
jb 0x14485c6
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0143e353
add esp, 0x10
cmp eax, 0xffffffff
je 0x144860b
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 0x14485c1
jl 0x14485f2
test ecx, ecx
jne 0x14485b3
push dword [ebp - 0xc]
push ebx
call fcn.01437f4a
push esi
call fcn.0143af01
add esp, 0xc
xor ebx, ebx
jmp 0x144869b
cmp byte [edi + 0x24], 0
je 0x1448622
cmp dword [edi + 0x20], 5
jne 0x1448622
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x144862d
mov ebx, dword [edi + 0x18]
jmp 0x144862f
xor ebx, ebx
push esi
call fcn.0143af01
pop ecx
jmp 0x144869b
test ecx, ecx
jg 0x1448604
jl 0x1448642
test eax, eax
jae 0x1448604
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.01440176
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1448662
cmp byte [edi + 0x1c], 0
je 0x1448604
jmp 0x1448693
push ebx
call fcn.01441e82
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1448604
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 0x144869b
cmp byte [edi + 0x1c], 0
je 0x1448698
mov ebx, dword [edi + 0x18]
jmp 0x144869b
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.01440176
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1449f60
Capabilities:
Parse pe header

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

Disassembly:
cmp byte [esp + 8], 1
jne 0x105db24d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x35c000]
push edi
or ebp, 0xffffffff
jmp 0x105db08a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x105db091
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105db080
mov eax, 1
add ebx, ebx
jne 0x105db0a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x105db0b4
jne 0x105db0d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105db0d3
dec eax
add ebx, ebx
jne 0x105db0c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x105db098
add ebx, ebx
jne 0x105db0cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x105db125
xor ecx, ecx
sub eax, 3
jb 0x105db0eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x105db15a
sar eax, 1
mov ebp, eax
jmp 0x105db0f6
add ebx, ebx
jne 0x105db0f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105db0c4
inc ecx
add ebx, ebx
jne 0x105db104
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105db0c4
add ebx, ebx
jne 0x105db111
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x105db106
jne 0x105db122
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x105db106
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x105db144
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x105db136
jmp 0x105db086
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x105db144
add edi, ecx
jmp 0x105db086
pop esi
mov edi, esi
mov ecx, 0x6c2c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x105db162
cmp byte [edi], 0x36
jne 0x105db162
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 0x105db167
lea edi, [esi + 0x5d0000]
mov eax, dword [edi]
or eax, eax
je 0x105db1df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5e83e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5e8518]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x105db194
mov ecx, edi
jns 0x105db1c3
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 + 0x5e851c]
or eax, eax
je 0x105db1d9
mov dword [ebx], eax
add ebx, 4
jmp 0x105db1b1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x105db210
cmp al, 0xef
ja 0x105db203
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x105db1e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x105db1f2
mov ebp, dword [esi + 0x5e8520]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x105db244
sub esp, 0xffffff80
jmp 0x100fc582
Function at 0x4015a0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x2c]
cmp word [ecx], 0x5a4d
jne 0x40160b
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40160b
cmp word [eax + 0x14], 0xe0
jne 0x40160b
cmp word [eax + 0x18], 0x10b
jne 0x40160b
mov dword [edi + 8], ecx
mov esi, dword [ecx + 0x3c]
add esi, ecx
mov ecx, edi
push esi
mov ebx, dword [esi + 0x78]
push ebx
call fcn.00401770
test eax, eax
je 0x40160b
mov eax, dword [edi + 8]
mov ecx, edi
push eax
push esi
push ebx
call fcn.004017c0
mov ebp, dword [esi + 0x78]
test ebp, ebp
jne 0x401617
push ebp
push ebp
push str.Error_in_GetProcAddressDirectly__
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 8
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add ebp, ebx
mov ecx, dword [ebp + 0x24]
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0x1c]
add ecx, ebx
add esi, ebx
add edi, ebx
shr edx, 0x10
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], edi
je 0x401702
mov edx, dword [edi]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x18]
test edx, edx
je 0x4016ca
xor edx, edx
mov edi, esi
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x10]
xor ecx, ecx
mov cx, word [esi]
cmp ecx, eax
jne 0x4016ab
mov eax, dword [edi]
mov esi, dword [esp + 0x30]
add eax, ebx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x40169a
test cl, cl
je 0x401696
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x40169a
add eax, 2
add esi, 2
test cl, cl
jne 0x401676
xor eax, eax
jmp 0x40169f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4016e7
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 0x18]
inc edx
add esi, 2
add edi, 4
dec ecx
cmp edx, ecx
mov dword [esp + 0x10], esi
jbe 0x401661
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x14]
inc eax
dec edx
mov dword [esp + 0x14], eax
cmp eax, edx
jbe 0x401651
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 8
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x24]
pop ebp
add eax, ecx
pop ebx
add esp, 0x18
ret 8
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov edx, edi
cmp dword [esp + 0x30], ecx
jne 0x401714
cmp dword [edx], 0
jne 0x40172d
mov esi, dword [ebp + 0x14]
inc eax
inc ecx
add edx, 4
dec esi
cmp eax, esi
jbe 0x401709
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 8
mov eax, dword [edi + eax*4]
pop edi
shl eax, 6
pop esi
add eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret 8
Function at 0x401770
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x4017b0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40179b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x4017a8
add edx, ecx
cmp ebx, edx
jb 0x4017b2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x401791
xor eax, eax
pop edi
pop esi
pop ebx
ret 8