joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4504de
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 0x45057b
push ebx
push esi
call fcn.004504a7
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.0044eaac
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x450528
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x45057a
push edi
push eax
call fcn.0044afc0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x450548
call fcn.0044a3a0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x450579
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0044eaac
add esp, 0x20
test eax, eax
jne 0x450567
push edi
call fcn.0044a3a0
jmp 0x45056f
push ebx
call fcn.0044a3a0
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 0x452c0b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004493a1
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 0x452c7a
cmp esi, dword [ebp - 4]
je 0x452c75
cmp dword [ebp + 0xc], 0
je 0x452c75
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x452c52
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00452760
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x452c7c
xor eax, eax
inc eax
jmp 0x452c7c
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x452ce7
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x474180]
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.004493a1
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.004493a1
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 0x452d5e
cmp word [ecx], dx
je 0x452d5e
mov eax, dword [0x4682a4]
push edi
dec eax
push eax
push 0x468190
call fcn.00452c80
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x452dd1
cmp word [eax], dx
je 0x452dd1
mov eax, dword [edi]
test eax, eax
je 0x452d82
cmp word [eax], dx
je 0x452d82
lea eax, [ebp - 0x10]
push eax
call fcn.00452666
jmp 0x452d8b
lea eax, [ebp - 0x10]
push eax
call fcn.00452701
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x452dfb
mov eax, dword [0x46818c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x467e80
call fcn.00452c80
add esp, 0xc
test al, al
je 0x452dfb
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x452dc6
cmp word [eax], di
je 0x452dc6
lea eax, [ebp - 0x10]
push eax
call fcn.00452666
pop ecx
jmp 0x452dfd
lea eax, [ebp - 0x10]
push eax
call fcn.00452701
jmp 0x452dc3
mov eax, dword [edi]
test eax, eax
je 0x452de8
cmp word [eax], dx
je 0x452de8
lea eax, [ebp - 0x10]
push eax
call fcn.0045261b
pop ecx
jmp 0x452dfb
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 0x452ec6
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00452b05
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x452ec6
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x452ec6
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x452ec6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x452e53
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0044ad3a
test ebx, ebx
je 0x452ec1
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0044ad3a
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x452ec6
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 0x452ec6
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00457e14
add esp, 0x10
xor eax, eax
inc eax
jmp 0x452ec8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00431277
leave
ret
Function at 0x4584b5
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.00458431
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x458624
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x458624
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4585d9
jg 0x458511
test eax, eax
je 0x4585cf
push 1
push 0x1000
call fcn.00449710
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x458534
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4585c6
push 0x8000
push ebx
call fcn.004461e1
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x45855d
jg 0x458558
cmp ecx, 0x1000
jb 0x45855d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0044a17d
add esp, 0x10
cmp eax, 0xffffffff
je 0x4585a2
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 0x458558
jl 0x458589
test ecx, ecx
jne 0x45854a
push dword [ebp - 0xc]
push ebx
call fcn.004461e1
push esi
call fcn.0044a3a0
add esp, 0xc
xor ebx, ebx
jmp 0x458632
cmp byte [edi + 0x24], 0
je 0x4585b9
cmp dword [edi + 0x20], 5
jne 0x4585b9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4585c4
mov ebx, dword [edi + 0x18]
jmp 0x4585c6
xor ebx, ebx
push esi
call fcn.0044a3a0
pop ecx
jmp 0x458632
test ecx, ecx
jg 0x45859b
jl 0x4585d9
test eax, eax
jae 0x45859b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0044da7f
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4585f9
cmp byte [edi + 0x1c], 0
je 0x45859b
jmp 0x45862a
push ebx
call fcn.00450c12
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x45859b
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 0x458632
cmp byte [edi + 0x1c], 0
je 0x45862f
mov ebx, dword [edi + 0x18]
jmp 0x458632
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0044da7f
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x458e70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x458e9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x458e9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4254a0
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fbc
push ebx
push esi
push edi
push esi
or esi, 0x111aa
and esi, 0x14431
add esi, 0x67b7
pop esi
push esi
push edx
add esp, 4
and esi, 0x11dca
xor esi, 0x126b
and esi, 0xccfc
xor esi, 0x3f76
pop esi
mov eax, 0x4d
mov word [ebp - 0x1ef4], ax
mov ecx, 0x42
mov word [ebp - 0x1ef2], cx
mov edx, 0x53
mov word [ebp - 0x1ef0], dx
mov eax, 0x65
mov word [ebp - 0x1eee], ax
mov ecx, 0x72
mov word [ebp - 0x1eec], cx
mov edx, 0x76
mov word [ebp - 0x1eea], dx
mov eax, 0x69
mov word [ebp - 0x1ee8], ax
mov ecx, 0x63
mov word [ebp - 0x1ee6], cx
mov edx, 0x65
mov word [ebp - 0x1ee4], dx
mov eax, 0x2e
mov word [ebp - 0x1ee2], ax
mov ecx, 0x65
mov word [ebp - 0x1ee0], cx
mov edx, 0x78
mov word [ebp - 0x1ede], dx
mov eax, 0x65
mov word [ebp - 0x1edc], ax
xor ecx, ecx
mov word [ebp - 0x1eda], cx
mov dword [ebp - 0xfac], 1
push ebx
sub ebx, 0x955e
and ebx, 0x9125
and ebx, 0x1327c
pop ebx
push eax
push ecx
add esp, 4
xor eax, 0x144f1
or eax, 0xbe70
sub eax, 0xdd8e
and eax, 0xb5d9
pop eax
imul edx, dword [ebp - 0xfac], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0xfac], 0x138
sub edx, eax
xor edx, 0xabe912
imul edx, dword [ebp - 0xfac]
imul ecx, dword [ebp - 0xfac], 0x138
sub edx, ecx
mov dword [ebp - 0xfb0], edx
push ecx
push edi
add esp, 4
add ecx, 0x2ca9
pop ecx
push eax
or eax, 0x7e77
sub eax, 0x1117e
call fcn.00425622
add byte [eax + eax*2 + 0x3a], cl
dec esp
dec edi
dec edi
cmp eax, dword [ebp + 0x41]

Function at 0x425622
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
add eax, 0x13ae0
pop eax
mov dword [ebp - 0x10], 1
push eax
push ebx
add esp, 4
sub eax, 0x1176
or eax, 0x3600
add eax, 0xb477
xor eax, 0x12b89
pop eax
push ebx
and ebx, 0xa746
xor ebx, 0xbc33
jmp 0x425664
pop ebx
imul edx, dword [ebp - 0x10], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x10], 0x138
sub edx, eax
xor edx, 0x153c
imul edx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x10], 0x138
sub edx, ecx
mov dword [ebp - 0x14], edx
push ebx
push ecx
add esp, 4
xor ebx, 0xc192
or ebx, 0x9bef
sub ebx, 0xff3c
pop ebx
push ebx
or ebx, 0x1263a
call 0x4256bf
add byte [ebp + esi + 0x37], cl
xor eax, 0x4a473932
cmp al, 0x83
les eax, [ebx + ebx*2]
push ecx
add ecx, 0xdf6b
and ecx, 0x2428
and ecx, 0xf719
add ecx, 0x7042
pop ecx
push edx
push ecx
add esp, 4
add edx, 0x1197d
sub edx, 0xf2be
add edx, 0xaad8
pop edx
mov dword [ebp - 0x2c], 1
push ecx
push esi
add esp, 4
add ecx, 0xe2d9
pop ecx
push edx
or edx, 0xb90d
pop edx
push esi
push edx
add esp, 4
call 0x425724
add byte [ebx + edi], bh
inc ebx
inc esp
inc esp
inc ebp
aas
add esp, 4
sub esi, 0x1640e
pop esi
imul edx, dword [ebp - 0x2c], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x2c], 0x138
sub edx, eax
xor edx, 0
imul edx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x2c], 0x138
sub edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x42590f
Function at 0x4256bf
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
add eax, 0x13ae0
pop eax
mov dword [ebp - 0x10], 1
push eax
push ebx
add esp, 4
sub eax, 0x1176
or eax, 0x3600
add eax, 0xb477
xor eax, 0x12b89
pop eax
push ebx
and ebx, 0xa746
xor ebx, 0xbc33
jmp 0x425664
pop ebx
imul edx, dword [ebp - 0x10], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x10], 0x138
sub edx, eax
xor edx, 0x153c
imul edx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x10], 0x138
sub edx, ecx
mov dword [ebp - 0x14], edx
push ebx
push ecx
add esp, 4
xor ebx, 0xc192
or ebx, 0x9bef
sub ebx, 0xff3c
pop ebx
push ebx
or ebx, 0x1263a
call 0x4256bf
add byte [ebp + esi + 0x37], cl
xor eax, 0x4a473932
cmp al, 0x83
les eax, [ebx + ebx*2]
push ecx
add ecx, 0xdf6b
and ecx, 0x2428
and ecx, 0xf719
add ecx, 0x7042
pop ecx
push edx
push ecx
add esp, 4
add edx, 0x1197d
sub edx, 0xf2be
add edx, 0xaad8
pop edx
mov dword [ebp - 0x2c], 1
push ecx
push esi
add esp, 4
add ecx, 0xe2d9
pop ecx
push edx
or edx, 0xb90d
pop edx
push esi
push edx
add esp, 4
call 0x425724
add byte [ebx + edi], bh
inc ebx
inc esp
inc esp
inc ebp
aas
add esp, 4
sub esi, 0x1640e
pop esi
imul edx, dword [ebp - 0x2c], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x2c], 0x138
sub edx, eax
xor edx, 0
imul edx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x2c], 0x138
sub edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x42590f

Function at 0x425724
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
add eax, 0x13ae0
pop eax
mov dword [ebp - 0x10], 1
push eax
push ebx
add esp, 4
sub eax, 0x1176
or eax, 0x3600
add eax, 0xb477
xor eax, 0x12b89
pop eax
push ebx
and ebx, 0xa746
xor ebx, 0xbc33
jmp 0x425664
pop ebx
imul edx, dword [ebp - 0x10], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x10], 0x138
sub edx, eax
xor edx, 0x153c
imul edx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x10], 0x138
sub edx, ecx
mov dword [ebp - 0x14], edx
push ebx
push ecx
add esp, 4
xor ebx, 0xc192
or ebx, 0x9bef
sub ebx, 0xff3c
pop ebx
push ebx
or ebx, 0x1263a
call 0x4256bf
add byte [ebp + esi + 0x37], cl
xor eax, 0x4a473932
cmp al, 0x83
les eax, [ebx + ebx*2]
push ecx
add ecx, 0xdf6b
and ecx, 0x2428
and ecx, 0xf719
add ecx, 0x7042
pop ecx
push edx
push ecx
add esp, 4
add edx, 0x1197d
sub edx, 0xf2be
add edx, 0xaad8
pop edx
mov dword [ebp - 0x2c], 1
push ecx
push esi
add esp, 4
add ecx, 0xe2d9
pop ecx
push edx
or edx, 0xb90d
pop edx
push esi
push edx
add esp, 4
call 0x425724
add byte [ebx + edi], bh
inc ebx
inc esp
inc esp
inc ebp
aas
add esp, 4
sub esi, 0x1640e
pop esi
imul edx, dword [ebp - 0x2c], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x2c], 0x138
sub edx, eax
xor edx, 0
imul edx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x2c], 0x138
sub edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x42590f
Function at 0x4290a0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
xor esi, 0x8ea4
xor esi, 0x4dc
pop esi
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xb80]
mov dword [ebp - 0x14c8], eax
push edx
push edx
add esp, 4
call 0x4290d9
add byte [eax + 0x36], cl
cmp dh, byte [ebx]
dec edi
aaa
inc eax
dec eax
xor eax, 0x4c4834f
jmp 0x4290e3
pop edx
push edx
xor edx, 0x105b5
pop edx
push edi
jmp 0x4290f5
pop edi
mov dword [ebp - 0x1fac], 0xffffffff
push eax
push esi
add esp, 4
xor eax, 0x9848
sub eax, 0x166a8
jmp 0x429118
pop eax
push edi
call 0x429128
add byte [esi + 0x3b], cl
push eax
cmp byte [ebp + 0x48], cl
inc edx
dec ebx
add esp, 4
or edi, 0x164a6
pop edi
mov ecx, dword [ebp - 0x3c0]
mov dword [ebp - 0x4d0], ecx
jmp 0x42914f

Function at 0x4290d9
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
xor esi, 0x8ea4
xor esi, 0x4dc
pop esi
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xb80]
mov dword [ebp - 0x14c8], eax
push edx
push edx
add esp, 4
call 0x4290d9
add byte [eax + 0x36], cl
cmp dh, byte [ebx]
dec edi
aaa
inc eax
dec eax
xor eax, 0x4c4834f
jmp 0x4290e3
pop edx
push edx
xor edx, 0x105b5
pop edx
push edi
jmp 0x4290f5
pop edi
mov dword [ebp - 0x1fac], 0xffffffff
push eax
push esi
add esp, 4
xor eax, 0x9848
sub eax, 0x166a8
jmp 0x429118
pop eax
push edi
call 0x429128
add byte [esi + 0x3b], cl
push eax
cmp byte [ebp + 0x48], cl
inc edx
dec ebx
add esp, 4
or edi, 0x164a6
pop edi
mov ecx, dword [ebp - 0x3c0]
mov dword [ebp - 0x4d0], ecx
jmp 0x42914f

Function at 0x429128
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
xor esi, 0x8ea4
xor esi, 0x4dc
pop esi
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xb80]
mov dword [ebp - 0x14c8], eax
push edx
push edx
add esp, 4
call 0x4290d9
add byte [eax + 0x36], cl
cmp dh, byte [ebx]
dec edi
aaa
inc eax
dec eax
xor eax, 0x4c4834f
jmp 0x4290e3
pop edx
push edx
xor edx, 0x105b5
pop edx
push edi
jmp 0x4290f5
pop edi
mov dword [ebp - 0x1fac], 0xffffffff
push eax
push esi
add esp, 4
xor eax, 0x9848
sub eax, 0x166a8
jmp 0x429118
pop eax
push edi
call 0x429128
add byte [esi + 0x3b], cl
push eax
cmp byte [ebp + 0x48], cl
inc edx
dec ebx
add esp, 4
or edi, 0x164a6
pop edi
mov ecx, dword [ebp - 0x3c0]
mov dword [ebp - 0x4d0], ecx
jmp 0x42914f
Function at 0x4583f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [0x49e5dc]
mov dword [ebp - 8], ecx
xor ecx, ecx
mov dword [ebp - 4], edx
test ebx, ebx
jne 0x458410
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
cmp edx, 0x100
jne 0x45845b
cmp dword [ebp + 8], 9
jne 0x4584b6
cmp dword [ebx + 0x518], ecx
jle 0x4584b6
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, ebx
test ax, ax
js 0x458446
call fcn.00433ea0
jmp 0x45844b
call fcn.00434060
test eax, eax
je 0x4584b1
pop edi
pop esi
mov eax, 4
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 5
jne 0x4584b6
mov eax, dword [ebx + 0x18]
test byte [eax + 0x14], 0x10
je 0x4584b6
cmp byte [ebx + 0x4c8], cl
je 0x4584b6
mov esi, dword [ebx + 0x1278]
xor edi, edi
cmp dword [ebx + 0x3c], ecx
jle 0x4584b6
nop
mov eax, dword [esi]
test eax, eax
jne 0x458490
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
je 0x458486
test byte [eax + 0x7c], 4
jne 0x4584a8
test dword [eax + 0x78], 0x2b0
je 0x4584a8
push eax
mov eax, dword [eax + 0x8c]
call eax
inc edi
add esi, 8
cmp edi, dword [ebx + 0x3c]
jl 0x458480
mov edx, dword [ebp - 4]
xor ecx, ecx
movsx eax, word [ebx + 0x1d8]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4584f3
xor esi, esi
test eax, eax
jle 0x4584f3
lea edi, [ebx + 0x1dc]
push dword [ebp + 0xc]
mov eax, dword [edi]
push dword [ebp + 8]
push edx
push dword [ebp - 8]
push ebx
call eax
movsx ecx, ax
test cl, 0x5c
jne 0x4584f3
mov edx, dword [ebp - 4]
inc esi
add edi, 4
cmp esi, dword [ebp - 0xc]
jl 0x4584d0
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x458500
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push dword [0x49e5b0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [ebp - 4], eax
test eax, eax
je 0x458527
push 0
push dword [0x49e5b0]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push esi
push edi
push 0x304
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [sym.imp.USER32.dll_RedrawWindow]
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 0
push dword [0x49e5b0]
call ebx
mov esi, eax
test esi, esi
je 0x458577
nop dword [eax + eax]
push pe_nt_image_headers32
push 0
push 0
push esi
call edi
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x458560
mov eax, dword [0x49e5d4]
cmp dword [eax + 0x1fc], 0
jne 0x4585ce
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
lea eax, [ebp - 0x20]
push 1
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x4585ce
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [eax]
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x4585b0
push dword [0x49e5ac]
call dword [sym.imp.MMFS2.dll_Ordinal_35]
cmp dword [ebp - 4], 0
pop edi
pop esi
pop ebx
je 0x4585f1
push 5
push dword [0x49e5b0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x5e8900
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x194000]
push edi
jmp 0x5e891a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5e8921
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5e8910
mov eax, 1
add ebx, ebx
jne 0x5e8933
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5e8944
jne 0x5e8963
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5e8963
dec eax
add ebx, ebx
jne 0x5e8950
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5e8928
add ebx, ebx
jne 0x5e895f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5e89b5
xor ecx, ecx
sub eax, 3
jb 0x5e897b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5e89ea
sar eax, 1
mov ebp, eax
jmp 0x5e8986
add ebx, ebx
jne 0x5e8986
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5e8954
inc ecx
add ebx, ebx
jne 0x5e8994
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5e8954
add ebx, ebx
jne 0x5e89a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5e8996
jne 0x5e89b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5e8996
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5e89d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5e89c6
jmp 0x5e8916
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5e89d4
add edi, ecx
jmp 0x5e8916
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5e89f2
cmp byte [edi], 0x11
jne 0x5e89f2
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 0x5e89f7
lea edi, [esi + 0x1e1000]
mov eax, dword [edi]
or eax, eax
je 0x5e8a6f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2facd4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2fae50]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5e8a24
mov ecx, edi
jns 0x5e8a53
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 + 0x2fae54]
or eax, eax
je 0x5e8a69
mov dword [ebx], eax
add ebx, 4
jmp 0x5e8a41
call dword [esi + 0x2fae64]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5e8aa0
cmp al, 0xef
ja 0x5e8a93
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5e8a75
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5e8a82
mov ebp, dword [esi + 0x2fae58]
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 0x5e8ad4
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x401385
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x4013ba
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x4013b7
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x4013c3
add edx, 0x28
cmp edx, esi
jne 0x4013a5
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x4013c0

Function at 0x401805
Capabilities:
Parse pe header

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

Function at 0x43b63d
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop edx
sub esp, 4
mov dword [esp], 0xf07e2595
pop eax
and edi, eax
and eax, edi
call fcn.0043b688
sub eax, 0x8bb6d190
dec eax
xor dword [esi], edx
and edi, eax
mov edi, eax
or eax, eax
inc esi
sub eax, eax
cmp esi, ecx
jne fcn.0043b63d
sub eax, 0x38362d8b
sub eax, 1
ret