joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fcc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422f18
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x42b520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x1c]
push 0x42c598
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0040a1b0
add esp, 8
lea ecx, [ebp - 0x18]
push 0x42c5fc
push ecx
mov byte [ebp - 4], 1
call fcn.0040a1b0
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push 0x6a
mov byte [ebp - 4], 3
call fcn.00406e80
add esp, 4
cmp eax, ebx
je 0x40fd51
push eax
lea eax, [ebx + 0x6a]
lea edi, [ebp - 0x14]
call fcn.004069d0
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx - 0xc], ebx
je 0x40fddd
mov edx, dword [ebp - 0x18]
cmp dword [edx - 0xc], ebx
je 0x40fddd
cmp dword [esi - 0xc], ebx
je 0x40fddd
xor eax, eax
mov dword [ebp - 0x14], eax
nop
cmp eax, 2
jge 0x40fddd
xor ecx, ecx
cmp eax, ebx
setne cl
push 2
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
add ecx, 0x80000001
mov dword [ebp - 0x20], ebx
call fcn.0040fc30
test eax, eax
jne 0x40fdc1
mov edi, dword [ebp - 0x18]
cmp esi, ebx
je 0x40fdc1
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push ebx
push edi
mov edi, dword [ebp - 0x28]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x40fdc4
mov edi, dword [ebp - 0x28]
cmp edi, ebx
je 0x40fdd2
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], ebx
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
jmp 0x40fd70
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40fdfd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fe20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fe42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41fb6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00416e52
and dword [ebp - 0x14], 0
cmp dword [0x46d558], 0
mov dword [ebp - 0x18], eax
jne 0x41fc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fcc7
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41fcc7
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46d558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46d55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46d560], eax
call edi
push eax
call esi
mov dword [0x46d568], eax
test eax, eax
je 0x41fc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46d564], eax
mov eax, dword [0x46d564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x41fc78
cmp dword [0x46d568], ecx
je 0x41fc78
push eax
call esi
push dword [0x46d568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fc78
test ebx, ebx
je 0x41fc78
call edi
test eax, eax
je 0x41fc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fc6f
test byte [ebp - 8], 1
jne 0x41fc78
or dword [ebp + 0x10], 0x200000
jmp 0x41fcab
mov eax, dword [0x46d55c]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41fcab
mov eax, dword [0x46d560]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46d558]
call esi
test eax, eax
je 0x41fcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41fcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004113cb
leave
ret
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x50fb3fa1
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7f966eea
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x44209c
Capabilities:
Encode data using xor

Disassembly:
loop 0x4420d2
les esi, [ecx - 0x5d29a298]
cmp eax, 0x5ff5c910
rcr dword [eax + 0xc86fef5], 0xb0
xchg word [edi + 0x53], dx
sub bh, byte [0x90a4d14]
push ds
xchg ebx, eax
jg 0x442112
lodsd eax, dword [esi]
invalid
outsd dx, dword [esi]
cli
call 0x28dad4d4
rcr byte [ecx + ebx*8 + 0x68], 0xe3
mov word [ebx], es
jl 0x995a3eaa
jo 0x44207e
hlt
cwde
mov ecx, 0x3d345ed4
xor ah, byte [edx]
jmp 0x56786790
and ch, cl
mov eax, 0x74563446
push esi
jle 0x4420cb
cmp dword [eax], esi
salc
push es
stosd dword es:[edi], eax
jbe 0x442111
ljmp 0xbb91:0x862a8f9f
push ebx
imul eax, dword [edx + 0x59], 0x47
dec ecx
int1
ja 0x4420aa
jns 0x44211f
lea edx, [ecx - 0x36]
push ebp
xchg ebp, eax
ret 0x1df8

Function at 0x44ba10
Capabilities:
Accept command line arguments
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov cl, byte [0x7ce04d]
mov edi, eax
mov al, byte [0x7ce04a]
mov edx, dword [0x7ce030]
and cl, al
mov eax, dword [0x7ce034]
mov byte [0x7ce04d], cl
mov ecx, eax
shr ecx, 2
sub edx, ecx
xor ecx, ecx
mov cl, byte [0x7ce043]
mov dword [0x7ce030], edx
mov edx, dword [0x7ce038]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
or edx, 7
push 0x10
imul edx, ecx
and eax, edx
mov dword [0x7ce034], eax
call ebx
test ax, ax
jge 0x44ba83
or dword [esi], 0x2000000
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [0x7ce030]
mov edx, dword [0x7ce034]
shr ecx, 0xc
or ecx, edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
fild qword [esp + 0xc]
test eax, eax
fadd qword [0x7ce050]
fstp qword [0x7ce050]
je 0x44bad2
mov edx, dword [0x7d1a9c]
push 0x7d17b8
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0x11
call ebx
test ax, ax
jge 0x44bae1
or dword [esi], 0x4000000
call dword [sym.imp.KERNEL32.dll_GetACP]
push 0x12
mov dword [0x7d1a9c], eax
call ebx
test ax, ax
jge 0x44bafb
or dword [esi], 0x8000000
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x4a26d8
Capabilities:
Encode data using xor

Disassembly:
add al, byte [edi - 0x6bf12486]
jmp 0x4a26b2
enter 0x3de9, 0xffffffffffffffc2
int3
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
leave
and eax, 0x963b76fe
enter 0xffffffffffffaa27, 0xffffffffffffffbb
jae 0x4a273e
cmc
inc ebp
jl 0x4a2701
push es
sbb edi, dword [esi + 0x6f]
mov ebp, 0x67e00933
xor ecx, dword [ecx]
loopne 0x4a275a
push edx
inc esi
ficomp dword [eax + 0x51]
inc esp
mov dl, 0x38
cmpsd dword [esi], dword es:[edi]
mov bh, 0xcb
xchg edx, eax
jne 0x4a2696
invalid
xor eax, 0x573f0787
mov al, 0xf1
and dword [ebp + 0x7c7cfa44], edi
jl 0x4a27c7
xchg edi, eax
test eax, eax
pop ss
xor eax, 0xbf7391dc
mov ch, byte [ecx - 0x13]
add ebx, dword [esi + 0x1febbe87]
test al, 0x25
pop es
rcl byte [ebx + 0x74669597], cl
cmp cl, al
or bh, al
push es
pop edx
push 0x16
rol byte [edi + edx*8], cl
movsd dword es:[edi], dword [esi]
jp 0x4a2749
ljmp 0xf23b:0x145fd723
movsd dword es:[edi], dword cs:[esi]
leave
xchg byte [ecx], bh
adc ah, byte [edx - 0x22]
sub eax, edx
xchg esi, eax
dec eax
imul ebx, dword [edi - 0x7d], 0xb155d540
xchg ecx, eax
scasb al, byte es:[edi]
cmp ebx, esp
std
adc al, byte [ebp + ecx*4 - 0x18417380]
ja 0x4a2852
mov ch, 0x25
salc
pushal
mov dh, 0xd1
inc ebp
daa
fstpnce st(3), st(0)
push edi
pop edi
daa
inc ebx
jbe 0x4a283a
invalid
jnp 0x4a288c
test eax, 0xe7574e46
pop edx
hlt
invalid
add edx, dword [ecx]
jge 0x4a284f
imul edx
lcall 0x9785, 0x7793a635
mov al, byte [0xa0f82293]
invalid
inc edx
push es
xlatb
xor cl, byte [ecx - 0x59d4befc]
xchg ebx, eax
push ecx
dec esp
mov cl, 0x41
pop esp
aas
and dword [eax], ebp
cmpsd dword [esi], dword es:[edi]
rol dh, 1
out 0x77, ax
dec esp
lodsb al, byte [esi]
inc esp
pop es
push eax
test byte [ebp + 0x2b], bl
aaa
xchg dword [ebx - 0x3e], edi
dec eax
popal
mov dword [esi - 0x39], 0x82dbd4ba
push eax
mov al, byte [0x57979652]
push es
jno 0x4a288c
imul esi, edi, 0x46
scasd eax, dword es:[edi]
les ebp, [ebp + 0x73ab33fd]
push ebx
sbb ebx, ecx
add al, 0xd3
pop es
in eax, 0xed
sbb dh, byte [ebp - 0x39]
mov eax, 0x6e47897
mov edx, 0x6ec5772d
and byte [ecx - 0xc], cl
mov edi, 0x3f767ed7
mov dl, 0xda
pop edi
pop es
mov eax, dword [0xd7340ab6]
or dh, byte [edi + edx*8]

Function at 0x54e6f5
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
add bl, byte [edi + ebx*2]
jmp [eax]
inc esi
rcr dh, 0x97
movsb byte es:[edi], byte [esi]
fisttp qword cs:[edi + 0x19]
loopne 0x54e6c4
mov al, 0xec
cmp al, 0x3d
xor bl, byte [eax]
enter 0xffffffffffff9c25, 0xffffffffffffffb8
push dword [eax + 0x57cf5c07]
add byte [ecx + 0x71f56972], ch
pop ds
invalid
Function at 0x7c7a1d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7ce388
cmp edx, dword [eax]
je 0x7c7a3f
add eax, 8
inc ecx
cmp eax, 0x7ce418
jl 0x7c7a30
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7ce388]
jne 0x7c7b6d
mov eax, dword [0xbcf4e0]
cmp eax, 1
je 0x7c7b47
test eax, eax
jne 0x7c7a70
cmp dword [0x7ce2b4], 1
je 0x7c7b47
cmp edx, 0xfc
je 0x7c7b6d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7c7aa7
lea eax, [ebp - 0x1a4]
push 0x7cc798
push eax
call fcn.007c8400
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007c8890
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7c7aea
lea eax, [ebp - 0x1a4]
push eax
call fcn.007c8890
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7cc794
push edi
call fcn.007ca760
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x7cc778
push eax
call fcn.007c8400
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.007c8410
lea eax, [ebp - 0xa0]
push 0x7cc774
push eax
call fcn.007c8410
push dword [esi + 0x7ce38c]
lea eax, [ebp - 0xa0]
push eax
call fcn.007c8410
push 0x12010
lea eax, [ebp - 0xa0]
push 0x7cc74c
push eax
call fcn.007ca6d4
add esp, 0x2c
pop edi
jmp 0x7c7b6d
lea eax, [ebp + 8]
lea esi, [esi + 0x7ce38c]
push 0
push eax
push dword [esi]
call fcn.007c8890
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x465070
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x41000]
push edi
or ebp, 0xffffffff
jmp 0x465092
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x465099
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x465088
mov eax, 1
add ebx, ebx
jne 0x4650ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4650bc
jne 0x4650db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4650db
dec eax
add ebx, ebx
jne 0x4650c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4650a0
add ebx, ebx
jne 0x4650d7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x46512d
xor ecx, ecx
sub eax, 3
jb 0x4650f3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465162
sar eax, 1
mov ebp, eax
jmp 0x4650fe
add ebx, ebx
jne 0x4650fe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4650cc
inc ecx
add ebx, ebx
jne 0x46510c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4650cc
add ebx, ebx
jne 0x465119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x46510e
jne 0x46512a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46510e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x46514c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x46513e
jmp 0x46508e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x46514c
add edi, ecx
jmp 0x46508e
pop esi
mov edi, esi
mov ecx, 0xf8d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x46516a
cmp byte [edi], 0xc
jne 0x46516a
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 0x46516f
lea edi, [esi + 0x62000]
mov eax, dword [edi]
or eax, eax
je 0x4651de
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x67a6c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x67ad0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46519c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x67ad4]
or eax, eax
je 0x4651d8
mov dword [ebx], eax
add ebx, 4
jmp 0x4651b9
call dword [esi + 0x67ae4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x46520f
cmp al, 0xef
ja 0x465202
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4651e4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4651f1
mov ebp, dword [esi + 0x67ad8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x465243
sub esp, 0xffffff80
jmp 0x416579
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x40cd6f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40cdb6
call fcn.004141b4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40cdb6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40cdd2
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040c8e7
mov esi, eax
test edi, edi
je 0x40cdd0
test ebx, ebx
je 0x40cdd0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40d5cf
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x48e242
call fcn.0042abe6
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40d5f4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40d63a
lea ecx, [ebp - 0x10]
call fcn.004015e0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406bd8
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401620
mov eax, esi
call fcn.0042acbe
ret 8
Function at 0x4102ca
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4bd7f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x410362
push 0x4981fc
push 4
push eax
call fcn.0042acf0
push eax
call fcn.004021a0
add esp, 0x10
push ebx
push edi
call fcn.0042aeff
mov edi, dword [eax]
call fcn.0042aeff
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0042ae9c
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0042aeff
cmp dword [eax], ebx
je 0x410379
call fcn.0042aeff
push dword [eax]
call fcn.00406cad
pop ecx
jmp 0x410380
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41030d
jmp 0x410407
call fcn.0042aeff
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x410403
cmp dword [ebp - 0x234], esi
jae 0x410403
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.00428440
add esp, 0xc
push 0x497f5c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x4103f2
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4103f2
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4103f2
push ebx
push ebx
push esi
jmp 0x4103fb
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x410405
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004282fc
leave
ret

Function at 0x41128e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4112d6
call fcn.004141b4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4112d6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x411319
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x411302
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x411302
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x411316
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc