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

Disassembly:
pushal
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, reloc.uxtheme.dll_GetThemeFont
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219

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

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x64c3304e
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x56487b79
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x472710
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004722f7

Function at 0x47271b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00472486

Function at 0x472c3e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042f620
mov eax, dword [0x49e100]
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.004700ef
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x472c80
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x472ddc
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00484fe0
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 + 0x4ec100]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004741d3
mov ecx, dword [esi*4 + 0x4ec100]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x472dd5
cmp eax, dword [edi + ecx + 0x24]
jne 0x472dd5
push 0
lea eax, [ebp - 0x1014]
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 0x472dd5
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004741d3
add esp, 0x14
test edx, edx
jl 0x472dd5
jg 0x472d4b
test eax, eax
jb 0x472dd5
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x472dd5
jl 0x472d65
cmp dword [ebp - 0x1008], eax
ja 0x472dd5
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x472d83
test ebx, ebx
je 0x472dbc
cmp ecx, edi
jae 0x472dbc
mov al, byte [ecx]
cmp al, 0xd
jne 0x472d9d
lea eax, [edi - 1]
cmp ecx, eax
jae 0x472da9
cmp byte [ecx + 1], 0xa
jne 0x472da9
inc ecx
jmp 0x472da9
movzx eax, al
movsx eax, byte [eax + 0x49e3f0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x472d83
cmp edx, ebx
jne 0x472d83
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x472dda
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042e365
leave
ret
Function at 0x47335a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
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 + 0x4ec100]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x47339a
cmp byte [ebx], 0xa
jne 0x47339a
or byte [eax + edi + 0x28], 4
jmp 0x47339f
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x47349d
mov al, byte [edx]
cmp al, 0x1a
je 0x47347f
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4733ce
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4733f3
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4733fd
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4733b0
jmp 0x47349d
push 0
lea eax, [ebp - 0xc]
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 0x47347a
cmp dword [ebp - 0xc], 0
je 0x47347a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4ec100]
test byte [eax + edi + 0x28], 0x48
je 0x473454
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x47343f
mov byte [esi], dl
jmp 0x473450
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4ec100]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x47349d
cmp byte [ebp - 1], 0xa
jne 0x473463
cmp esi, ebx
jne 0x473463
mov byte [esi], 0xa
jmp 0x47349c
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004741f1
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x47349d
mov byte [esi], 0xd
jmp 0x47349c
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4ec100]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x473499
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x47349d
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4734a6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4ec100]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4734e9
cmp word [esi], dx
jne 0x4734e9
or byte [edi + eax + 0x28], 4
jmp 0x4734ee
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x473641
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x473621
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x473530
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x473566
cmp eax, edx
jae 0x473572
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
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 - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x473508
jmp 0x473641
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 0x47361d
cmp dword [ebp - 0x14], 0
je 0x47361d
mov eax, dword [ebx*4 + 0x4ec100]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4735f5
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4735be
mov word [esi], cx
jmp 0x4735f1
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4ec100]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4ec100]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4ec100]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x473641
pop ebx
cmp word [ebp - 4], bx
jne 0x473606
cmp esi, dword [ebp + 0xc]
jne 0x473606
mov word [esi], bx
jmp 0x47363e
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004741f1
add esp, 0x10
cmp word [ebp - 4], bx
je 0x473641
push 0xd
jmp 0x47363a
mov ecx, dword [ebx*4 + 0x4ec100]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x473638
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x473641
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x478226
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 0x4782c3
push ebx
push esi
call fcn.004781e2
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.0047536f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x478270
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4782c2
push edi
push eax
call fcn.0046f018
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x478290
call fcn.0046cea2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4782c1
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0047536f
add esp, 0x20
test eax, eax
jne 0x4782af
push edi
call fcn.0046cea2
jmp 0x4782b7
push ebx
call fcn.0046cea2
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 0x4782c6
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4782d7
pop esi
ret
push ebx
push edi
push esi
call fcn.004781e2
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0046f018
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4782ff
push ebx
push esi
push edi
call fcn.0042fe60
add esp, 0xc
push 0
call fcn.0046cea2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x478be0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00478572

Function at 0x484da0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x484dcd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x484dcd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x489134
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 8]
sar eax, 2
push esi
test eax, eax
je 0x4891ba
xor esi, esi
mov al, byte [esi + 0x4e8be0]
mov edx, str.Own_head
xor al, 0x73
sub al, 0x6c
xor al, 0x74
mov byte [esi + 0x4e8be0], al
call fcn.0040618b
push eax
call fcn.00406159
mov al, byte [esi + 0x4e8be0]
mov edx, str.Earth
add al, 0x4e
xor al, 0xdc
pop ecx
mov byte [esi + 0x4e8be0], al
call fcn.0040618b
push eax
call fcn.00406159
mov al, byte [esi + 0x4e8be0]
xor al, 0xac
mov dword [esp], 0x49482c
sub al, 0x65
xor al, 0x22
sub al, 0x73
mov byte [esi + 0x4e8be0], al
call fcn.00458d3b
xor byte [esi + 0x4e8be0], al
inc esi
pop ecx
cmp esi, 0x4ac
jb 0x489147
lea ecx, [esp + 0xc]
call fcn.00404eb8
pop esi
pop ecx
ret 0x14
Function at 0x39abe
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 4]
jae 0x667e9
call fcn.000649db

Function at 0x39acd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.000397ad
out dx, al
mov ecx, 0x25126bac
or bh, byte [ecx]
inc esi
pop ecx
outsb dx, byte [esi]
push ebp
jb 0x39b01
cmpsb byte [esi], byte es:[edi]
stc
into
in eax, dx
invalid
rol byte [edi], 0x88
aas
mov byte [edi], bh
dec esp
jnp 0x39b24
mov eax, 0xa92b88ff
add ch, byte [edi + 0x34]
xchg ebx, eax
or byte [ebx + 0x3865a1a9], ch
enter 0xaf9, 0x49
pushal
inc esp
jae 0x39b03
enter 0x449a, 0x6b
push cs
fcomp dword [ebx + 0x1b8007a8]
pop esi
sbb dword [0x5758890f], ebp
outsd dx, dword [esi]
outsd dx, dword [esi]
push eax
jb 0x39b52
xchg dword [esp + esi], esi
mov edx, dword [ecx + 0x11]
cmpsb byte [esi], byte es:[edi]
and dword [edx - 0x4ff88aae], eax
leave
xchg ebx, eax
cmp eax, 0xc0d9ca66
cmp byte [edi], 0x36
pop ss
cwde
sub eax, 0xb3f8f845
mov edx, 0x79e8cae9
dec edi
and byte [ebx + 0x6b], ch
push esp
inc ebp
inc ebp
jb 0x39bb7
clc
mov bl, 0xba
jmp 0x4f7d8424
retf 0x79e8
bound edx, qword [eax]
lahf
shr eax, cl
xchg esp, eax
idiv dword [ebx + 0x24]
dec esi
insd dword es:[edi], dx
js 0xf8bf3b67
jp 0x39baa
inc edi
push eax
and bh, byte [ecx + 0x3a]
jp 0x39b56
test dword [eax - 0x30], ebx
inc eax
add bh, al
cmpsb byte [esi], byte es:[edi]
add dword [ebx + ecx*2], ebp
stosd dword es:[edi], eax
ror byte [ebx + 0x44c67856], cl
and al, 4
push 0x246488f5
add al, 0x66
mov dword [esp + 4], 0xd285d50e
and al, 4
mov word [esp + 4], 0xd50e
test edx, edx
call fcn.0003f9a4
pushal
inc esi
call fcn.00039314

Function at 0x39b88
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
lea esp, [esp + 4]
je 0x3a607
mov esi, dword [sym.imp.HAL.dll_HalMakeBeep]
pushal
pushal
pushfd
lea esp, [esp + 0x44]
jmp fcn.0003d831
pushfd
lea esp, [esp + 0xc]
je 0x3e31a
xchg dx, si
mov esi, dword [eax + 0x3c]
xor dx, 0x549b
pushal
rcl dh, cl
add esi, eax
rcr dh, 2
sar dl, 2
bts edx, edx
mov edx, dword [esi + 0x78]
mov byte [esp + 4], 0x68
cmc
mov byte [esp + 4], ah
jmp 0x3d7fe
mov esi, dword [sym.imp.HAL.dll_HalMakeBeep]
pushfd
pushal
lea esp, [esp + 0x24]
jmp fcn.0003d831
lea esi, [esi + edx + 0x1c]
bswap edi
movzx di, bl
mov edi, dword [ebp + 8]
call fcn.000392f4
shr dh, 6
rol si, 1
setbe dl
xor eax, eax
mov dl, 0x19
pop edx
pushfd
pop edi
movzx ebx, bl
pop ebx
mov di, 0x51d8
pop edi
pushfd
movzx esi, cl
movzx esi, dl
mov esi, dword [esp + 4]
pushfd
pushal
jmp 0x3f78e
call fcn.000396f8
pushfd
mov word [esp], 0x1e87
pushfd
lea esp, [esp + 8]
jne 0x66fdb
jmp 0x393f9
pushal
bswap si
not di
movzx esi, word [edx + 0x1a]
mov edi, dword [esp]
bswap di
lea edi, [edx + 0x21e34d6a]
jmp 0x3dc70
Function at 0x66323
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.00066f69
add byte [eax], al
add byte [ecx + 0x2cf], cl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edi + 0x2f9], dl
mov al, 2
add byte [ecx + 0x2cf], dl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebp + ebx*4 + 2], al
add byte [eax], cl
mov al, 2
add byte [ecx + 0x2cf], bl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebp - 0x30], al
add al, byte [eax]
adc byte [eax - 0x305efffe], dh
add al, byte [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
xchg edi, eax
stc
add al, byte [eax]
sbb byte [eax - 0x303afffe], dh
add al, byte [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
inc esp
popfd
add al, byte [eax]
cmp al, 0xb0
add al, byte [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
retf 0xa4c1
lea esp, [esp + 0x30]
ja 0x3d660
je 0x3e31a
pushfd
bsf dx, si
mov esi, dword [eax + 0x3c]
rcl edx, 9
add esi, eax
bswap dx
seta dh
btr dx, 7
bsf dx, dx
mov edx, dword [esi + 0x78]
bt esp, 0x1b
bt bx, cx
test edx, edx
call fcn.0003a84d
Function at 0x41ec50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
jmp 0x41ec6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ec71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ec60
mov eax, 1
add ebx, ebx
jne 0x41ec83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ec78
jne 0x41ec94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ec78
xor ecx, ecx
sub eax, 3
jb 0x41eca8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ed1a
mov ebp, eax
add ebx, ebx
jne 0x41ecb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41ecc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41ece4
inc ecx
add ebx, ebx
jne 0x41ecd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41ecc5
jne 0x41ece1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ecc5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ed04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41ecf5
jmp 0x41ec66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ed04
add edi, ecx
jmp 0x41ec66
pop esi
mov edi, esi
mov ecx, 0x4fc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ed22
cmp byte [edi], 1
jne 0x41ed22
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 0x41ed27
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41ed9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ed54
mov ecx, edi
jns 0x41ed83
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 + 0x1e09c]
or eax, eax
je 0x41ed99
mov dword [ebx], eax
add ebx, 4
jmp 0x41ed71
call dword [esi + 0x1e098]
mov ebp, dword [esi + 0x1e0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x41edd3
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x402210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4146b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x20]
push eax
call edi
push eax
call sub.MFC42u.DLL_CWnd::FromHandle
push eax
lea ecx, [esp + 0x30]
call sub.MFC42u.DLL_CClientDC::CClientDC
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x20]
push edx
call edi
push eax
call sub.MFC42u.DLL_CWnd::FromHandle
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call sub.MFC42u.DLL_CWnd::ScreenToClient
mov eax, dword [esi + 0xf4]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x402346
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0xf0]
call sub.MFC42u.DLL_CDC::Attach
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x100]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC42u.DLL_CGdiObject::Attach
test edi, edi
je 0x4022f2
mov edi, dword [edi + 4]
mov eax, dword [esi + 0xf4]
push edi
push eax
call sub.MFC42u.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x108], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0xf4]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0xf0]
sub ecx, edi
test edx, edx
je 0x402367
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.004130b4
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x403560
Capabilities:
Get file version info

Disassembly:
sub esp, 8
lea eax, [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
push eax
mov edi, ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x403586
pop edi
pop esi
pop ebx
add esp, 8
ret 4
push esi
call sub.MFC42u.DLL_operatornew
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [edi], eax
push eax
push esi
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x4035b4
mov ecx, edi
call fcn.00403540
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 4
mov ecx, dword [edi]
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
push eax
push 0x41c08c
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4035e1
mov ecx, edi
call fcn.00403540
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 4
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, dword [eax]
mov cx, word [eax]
shr edx, 0x10
shl ecx, 0x10
or edx, ecx
mov eax, 1
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
add esp, 8
ret 4

Function at 0x403610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4147d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
cmp dword [esi], 0
jne 0x40365c
mov esi, dword [esp + 0x24]
push 0x41e3d0
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_1
mov eax, esi
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push edi
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x403668
mov edi, dword [esi + 4]
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 1
call sub.MFC42u.DLL_CString::CString_3
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push eax
push edi
push 0x41c0c0
push ecx
mov byte [esp + 0x30], 2
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x30]
push edx
push eax
push 0
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esi]
push eax
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
pop edi
je 0x4036d0
mov edx, dword [esp + 8]
lea ecx, [esp + 4]
push edx
call sub.MFC42u.DLL_CString::operator_2
push 0xffffffffffffffff
lea ecx, [esp + 0x30]
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push eax
mov ecx, esi
call fcn.00413138
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc], 1
mov byte [esp + 0x1c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc