joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402094
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
lea eax, [ebp - 0x28]
push esi
push eax
lea eax, [ebp - 0x44]
xor ebx, ebx
push eax
push ebx
mov byte [ebp - 0x44], 0x4b
mov byte [ebp - 0x43], 0x45
mov byte [ebp - 0x42], 0x52
mov byte [ebp - 0x41], 0x4e
mov byte [ebp - 0x40], 0x45
mov byte [ebp - 0x3f], 0x4c
mov byte [ebp - 0x3e], 0x33
mov byte [ebp - 0x3d], 0x32
mov byte [ebp - 0x3c], 0x2e
mov byte [ebp - 0x3b], 0x64
mov byte [ebp - 0x3a], 0x6c
mov byte [ebp - 0x39], 0x6c
mov byte [ebp - 0x38], bl
mov byte [ebp - 0x28], 0x46
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x24], 0x4c
mov byte [ebp - 0x23], 0x69
mov byte [ebp - 0x22], 0x62
mov byte [ebp - 0x21], 0x72
mov byte [ebp - 0x20], 0x61
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x79
mov byte [ebp - 0x1d], bl
call fcn.00401604
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
push ebx
mov byte [ebp - 0x34], 0x56
mov byte [ebp - 0x33], 0x69
mov byte [ebp - 0x32], 0x72
mov byte [ebp - 0x31], 0x74
mov byte [ebp - 0x30], 0x75
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2e], 0x6c
mov byte [ebp - 0x2d], 0x46
mov byte [ebp - 0x2c], 0x72
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], bl
call fcn.00401604
mov dword [ebp - 8], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push ebx
mov byte [ebp - 0x54], 0x47
mov byte [ebp - 0x53], 0x65
mov byte [ebp - 0x52], 0x74
mov byte [ebp - 0x51], 0x50
mov byte [ebp - 0x50], 0x72
mov byte [ebp - 0x4f], 0x6f
mov byte [ebp - 0x4e], 0x63
mov byte [ebp - 0x4d], 0x65
mov byte [ebp - 0x4c], 0x73
mov byte [ebp - 0x4b], 0x73
mov byte [ebp - 0x4a], 0x48
mov byte [ebp - 0x49], 0x65
mov byte [ebp - 0x48], 0x61
mov byte [ebp - 0x47], 0x70
mov byte [ebp - 0x46], bl
call fcn.00401604
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x1c], 0x48
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x61
mov byte [ebp - 0x19], 0x70
mov byte [ebp - 0x18], 0x46
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x17], 0x72
push eax
lea eax, [ebp - 0x44]
push eax
push ebx
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x14], bl
call fcn.00401604
mov esi, dword [ebp + 8]
add esp, 0x30
cmp esi, ebx
mov dword [ebp - 0x10], eax
je 0x402238
cmp dword [esi + 0x10], ebx
je 0x4021f2
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ebx
push ebx
mov ecx, dword [ecx + 0x28]
push eax
add ecx, eax
call ecx
mov dword [esi + 0x10], ebx
cmp dword [esi + 8], ebx
je 0x40221e
push edi
xor edi, edi
cmp dword [esi + 0xc], ebx
jle 0x402214
mov eax, dword [esi + 8]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x40220e
push eax
call dword [ebp - 4]
inc edi
cmp edi, dword [esi + 0xc]
jl 0x4021ff
push dword [esi + 8]
call fcn.00401838
pop ecx
pop edi
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x40222f
push 0x8000
push ebx
push eax
call dword [ebp - 8]
push esi
push ebx
call dword [ebp - 0xc]
push eax
call dword [ebp - 0x10]
pop esi
pop ebx
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x2a9b41b0
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x318772c2
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..data
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2ea817c9
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data_1
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0xcc30d9
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80d004]
jne 0x401010
repz ret
jmp fcn.004014f3

Function at 0x407a15
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404c04
and dword [ebp - 4], 0
cmp dword [0x80fc9c], 0
mov ebx, eax
jne 0x407ac6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407b77
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407b77
push eax
call fcn.00404b92
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x80fc9c], eax
call esi
push eax
call fcn.00404b92
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x80fca0], eax
call esi
push eax
call fcn.00404b92
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x80fca4], eax
call esi
push eax
call fcn.00404b92
pop ecx
mov dword [0x80fcac], eax
test eax, eax
je 0x407ac6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404b92
pop ecx
mov dword [0x80fca8], eax
mov eax, dword [0x80fca8]
cmp eax, ebx
je 0x407b1e
cmp dword [0x80fcac], ebx
je 0x407b1e
push eax
call fcn.00404c0d
push dword [0x80fcac]
mov esi, eax
call fcn.00404c0d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407b1e
test edi, edi
je 0x407b1e
call esi
test eax, eax
je 0x407b15
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407b15
test byte [ebp - 0xc], 1
jne 0x407b1e
or dword [ebp + 0x10], 0x200000
jmp 0x407b57
mov eax, dword [0x80fca0]
cmp eax, ebx
je 0x407b57
push eax
call fcn.00404c0d
pop ecx
test eax, eax
je 0x407b57
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407b57
mov eax, dword [0x80fca4]
cmp eax, ebx
je 0x407b57
push eax
call fcn.00404c0d
pop ecx
test eax, eax
je 0x407b57
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x80fc9c]
call fcn.00404c0d
pop ecx
test eax, eax
je 0x407b77
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407b79
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409ba0
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x80d004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x2af7cb4], 0x930
jne 0x409bca
push str.Gahaw_tugez_kirapiface_fuya
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
cmp dword [0x2af7cb4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x2af7af8], eax
jne 0x409bfd
push 0
lea ecx, [ebp - 0x404]
push ecx
push 0
call sub.KERNEL32.dll_VerLanguageNameA
lea edx, [ebp - 0x420]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401006
mov esp, ebp
pop ebp
ret
Function at 0x41c528
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push edi
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.004d4b50
mov dword [esp], 0xc8
mov dword [esp + 4], 0x96
push 0
call fcn.004bf20d
mov ebx, eax
push 0
call fcn.004bf50d
mov edi, eax
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
add ebx, edi
mov edi, dword [esp]
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
sub ebx, edi
mov dword [esp + 8], ebx
push 0
call fcn.004bf27a
mov ebx, eax
push 0
call fcn.004bf589
mov edi, eax
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
add ebx, edi
mov edi, dword [esp + 4]
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
sub ebx, edi
mov dword [esp + 0xc], ebx
push 0x80000004
push dword [0x14a9228]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x60
call fcn.004bec38
push 0xb
push 0x67
call fcn.004cd8ad
push eax
push 0x1a
push 0xaa
push 0xf
push 0xf
push 0x63
call fcn.004b8fde
push 0xb
push 0x65
call fcn.004cd8ad
push eax
push 0x1a
push 0xaa
push 0x2d
push 0xf
push 0x61
call fcn.004b8fde
push 0xb
push 0x66
call fcn.004cd8ad
push eax
push 0x1a
push 0xaa
push 0x4b
push 0xf
push 0x62
call fcn.004b8fde
push dword [0x14a9374]
push 0x14
push 0xaa
push 0x78
push 0xf
push 0x64
call fcn.004b66be
call fcn.0044282e
call fcn.004bec30
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], 0
je 0x41c739
call fcn.004c2a96
push eax
mov ebx, 0x60
cmp ebx, dword [esp]
jne 0x41c736
push dword [esp + 0x20]
mov ebx, 0x332c
cmp ebx, dword [esp]
jne 0x41c735
call fcn.004c2a87
push eax
mov ebx, 0x63
cmp ebx, dword [esp]
jne 0x41c6ea
mov eax, 0x5f367a
push eax
call fcn.0049469a
add esp, 0xc
jmp 0x41c790
mov ebx, 0x61
cmp ebx, dword [esp]
jne 0x41c709
mov eax, 0x5f367a
push eax
call fcn.0049469a
add esp, 0xc
jmp 0x41c790
mov ebx, 0x62
cmp ebx, dword [esp]
jne 0x41c725
mov eax, 0x5f367a
push eax
call fcn.0049469a
add esp, 0xc
jmp 0x41c790
mov ebx, 0x64
cmp ebx, dword [esp]
jne 0x41c734
add esp, 0xc
jmp 0x41c790
pop eax
pop eax
pop eax
jmp 0x41c743
push 0x60
call fcn.004bec12
push 0x1b
call sub.USER32.dll_GetKeyState
mov ebx, eax
cmp ebx, 1
jle 0x41c767
call fcn.004bf597
mov ebx, eax
cmp ebx, 0x60
jne 0x41c767
call fcn.0044282e
jmp 0x41c790
push 0xd
call sub.USER32.dll_GetKeyState
mov ebx, eax
cmp ebx, 1
jle 0x41c78b
call fcn.004bf597
mov ebx, eax
cmp ebx, 0x60
jne 0x41c78b
call fcn.0044282e
jmp 0x41c790
jmp 0x41c693
push 0x60
call fcn.004be9c0
xor eax, eax
add esp, 0x10
pop edi
pop ebx
ret 4
Function at 0x44dbb1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
xor eax, eax
push eax
push eax
call fcn.004d4b50
mov dword [esp], 0
jmp 0x44dbc4
mov eax, dword [esp + 0x10]
cmp eax, dword [esp]
jl 0x44dc7d
push 0
call fcn.004beaf1
and eax, eax
je 0x44dc74
mov dword [esp + 4], 0xffffffff
call fcn.00453ce3
mov dword [esp + 4], eax
mov ebx, dword [esp + 4]
and ebx, ebx
jle 0x44dc43
call fcn.004c2a96
push eax
mov ebx, dword [0x14a9394]
cmp ebx, dword [esp]
jne 0x44dc1e
push dword [esp + 8]
call fcn.0044c728
mov ebx, eax
and ebx, ebx
jne 0x44dc1c
jmp 0x44dc40
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x44dc36
push dword [esp + 8]
call fcn.0043f166
mov ebx, eax
and ebx, ebx
jne 0x44dc34
jmp 0x44dc40
push 3
call fcn.004be7e3
pop eax
jmp 0x44dc4d
push 5
call fcn.004be7e3
push 0x1b
call sub.USER32.dll_GetKeyState
mov ebx, eax
cmp ebx, 1
jle 0x44dc6a
mov dword [0x14a9344], 1
jmp 0x44dc74
mov dword [0x14a9344], 0
inc dword [esp]
jno 0x44dbc4
xor eax, eax
add esp, 8
pop ebx
ret 4
Function at 0x45308d
Capabilities:
Query environment variable

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.004d4b50
push dword [esp + 0x1c]
call fcn.00455440
mov edx, dword [esp + 0x18]
lea ecx, [esp]
call fcn.00455000
push edx
call fcn.004d4a40
pop edx
push eax
push edx
call fcn.004d4a40
pop edx
push eax
push 0x3e8
call fcn.004d2530
call fcn.004d4b30
lea eax, [esp + 8]
push eax
call fcn.004d4ac0
push 0x3e8
mov eax, dword [esp + 8]
push eax
mov eax, 0x5fcdae
push eax
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov edx, 0x5ec0c4
lea ecx, [esp + 8]
call fcn.00455008
push edx
call fcn.004d4a40
pop edx
push eax
push 0xe
mov edx, dword [esp + 0xc]
push edx
call fcn.004d4a40
pop edx
push eax
push edx
call fcn.004d4a70
mov edx, 0x5f9ab6
push edx
call fcn.004d4a70
call fcn.004d4b30
push edx
call fcn.004d4a40
pop edx
push eax
mov edx, 0x5f399c
push edx
call fcn.004d4a70
mov edx, dword [esp + 0x10]
push edx
call fcn.004d4a70
call fcn.004d4b30
mov edx, dword [esp + 0x14]
push edx
call fcn.004d4a40
pop edx
push eax
push edx
call fcn.004d4a70
mov edx, 0x5f1d84
push edx
call fcn.004d4a70
call fcn.00455422
add dword [esp], edx
call fcn.00455422
add dword [esp + 4], edx
call fcn.00455422
add dword [esp + 8], edx
call fcn.00494136
call fcn.00455440
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x45321b
push dword [esp + 0xc]
call fcn.004948da
and eax, eax
je 0x453212
push dword [esp + 0xc]
call fcn.0049491c
and eax, eax
je 0x453210
mov edx, dword [esp + 8]
push edx
call fcn.004d4a40
pop edx
push eax
push edx
call fcn.004d4a70
push edx
call fcn.004d4a40
pop edx
push eax
push edx
call fcn.004d4a40
pop edx
push eax
push edx
call fcn.004d4a40
pop edx
push eax
push 0x18
push dword [esp + 0x20]
call fcn.00494940
call fcn.00455422
add dword [esp], edx
call fcn.0042b480
pop eax
mov edx, 0x6030e8
push edx
call fcn.004d4a70
lea eax, [esp + 0xc]
push eax
call fcn.004d4ac0
jmp 0x45319b
push dword [esp + 0xc]
call fcn.00494977
mov edx, dword [esp + 8]
push edx
call fcn.004d4a40
pop edx
push eax
push edx
call fcn.004d4a70
pop eax
push eax
call fcn.00455410
pop edx
add eax, edx
jmp 0x453243
push dword [esp]
call fcn.004d4bc0
push dword [esp + 4]
call fcn.004d4bc0
push dword [esp + 8]
call fcn.004d4bc0
add esp, 0x10
pop ebx
ret 4
Function at 0x453db3
Capabilities:
Delete registry key

Disassembly:
push ebx
mov edx, 7
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x453db9
call fcn.004d4b50
mov edx, dword [esp + 0x24]
lea ecx, [esp]
call fcn.00455000
mov edx, dword [esp + 0x28]
lea ecx, [esp + 4]
call fcn.00455000
push dword [esp]
call fcn.00453f3a
push dword [esp + 4]
mov edx, 0x5ed710
pop ecx
call fcn.004553d0
je 0x453e88
cmp dword [0x14a9474], 0
je 0x453e6e
mov eax, 0x5eccf4
push eax
push 0xffffffff
call fcn.004b5c81
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x453e6c
mov eax, 0x5fcbd8
push eax
push dword [esp + 0xc]
call fcn.004b5cd7
mov dword [esp + 0xc], eax
push 0
mov ebx, dword [0x14a9478]
or ebx, 0xf003f
push ebx
mov eax, dword [0x14a9468]
push eax
push dword [0x14a9470]
push dword [esp + 0x1c]
call fcn.004b5d31
mov dword [esp + 0x10], eax
push dword [esp + 8]
call fcn.004b5bc0
jmp 0x453e83
mov eax, dword [0x14a9468]
push eax
push dword [0x14a9470]
call sub.ADVAPI32.dll_RegDeleteKeyW
mov dword [esp + 0x10], eax
jmp 0x453f11
lea eax, [esp + 0x18]
push eax
push dword [0x14a9470]
push dword [esp + 0xc]
call sub.ADVAPI32.dll_RegConnectRegistryW
mov dword [esp + 0x14], eax
cmp dword [0x14a9474], 0
je 0x453efe
mov eax, 0x5eccf4
push eax
push 0xffffffff
call fcn.004b5c81
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x453efc
push 0
mov ebx, dword [0x14a9478]
or ebx, 0xf003f
push ebx
mov eax, dword [0x14a9468]
push eax
push dword [esp + 0x24]
mov eax, 0x5fcbd8
push eax
push dword [esp + 0x1c]
call fcn.004b5d8e
mov dword [esp + 0x10], eax
push dword [esp + 8]
call fcn.004b5bc0
jmp 0x453f11
mov eax, dword [0x14a9468]
push eax
push dword [esp + 0x1c]
call sub.ADVAPI32.dll_RegDeleteKeyW
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
and ebx, ebx
jne 0x453f20
mov eax, 1
jmp 0x453f22
xor eax, eax
push dword [esp + 4]
call fcn.004d4bc0
push dword [esp]
call fcn.004d4bc0
add esp, 0x1c
pop ebx
ret 8
Function at 0x45413c
Capabilities:
Get graphical window text

Disassembly:
push ebx
xor eax, eax
push eax
call fcn.004d4b50
push dword [esp + 0xc]
call fcn.00455440
mov ebx, dword [0x14a94b0]
and ebx, ebx
jne 0x454178
push 0
push 0
call sub.USER32.dll_FindWindowW
mov dword [0x14a94b4], eax
mov dword [0x14a94b0], 1
jmp 0x45418d
push 2
push dword [0x14a94b4]
call sub.USER32.dll_GetWindow
mov dword [0x14a94b4], eax
mov ebx, dword [0x14a94b4]
and ebx, ebx
je 0x454227
push 0xfffffff0
push dword [0x14a94b4]
call sub.USER32.dll_GetWindowLongW
mov ebx, eax
and ebx, 0x10000000
cmp ebx, 0x10000000
jne 0x454225
push 0xffffffec
push dword [0x14a94b4]
call sub.USER32.dll_GetWindowLongW
mov ebx, eax
and ebx, 0x80
cmp ebx, 0x80
je 0x454225
push edx
call fcn.004d4a40
pop edx
push eax
push edx
call fcn.004d4a40
pop edx
push eax
push 0x100
call fcn.004d2530
lea eax, [esp + 4]
push eax
call fcn.004d4ac0
push 0x100
push dword [esp + 4]
push dword [0x14a94b4]
call sub.USER32.dll_GetWindowTextW
push dword [esp]
mov edx, 0x5ec0c4
pop ecx
call fcn.004553d0
jne 0x454225
jmp 0x45423f
jmp 0x454231
mov dword [0x14a94b0], 0
mov ebx, dword [0x14a94b4]
and ebx, ebx
jne 0x45414e
mov edx, dword [esp]
push edx
call fcn.004d4a40
pop edx
push eax
push edx
call fcn.004d4a70
pop eax
push eax
call fcn.00455410
pop edx
add eax, edx
jmp 0x454266
push dword [esp]
call fcn.004d4bc0
add esp, 4
pop ebx
ret

Function at 0x454273
Capabilities:
Create process on windows

Disassembly:
push ebp
push ebx
mov edx, 0x19
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x45427a
call fcn.004d4b50
mov edx, dword [esp + 0x70]
lea ecx, [esp]
call fcn.00455000
lea eax, [esp + 4]
lea eax, [esp + 0x48]
lea ebp, [esp + 4]
mov dword [ebp], 0x44
mov dword [ebp + 0x2c], 1
mov ebx, dword [esp + 0x74]
and ebx, 2
and ebx, ebx
je 0x4542c9
lea ebp, [esp + 4]
mov word [ebp + 0x30], 0
jmp 0x4542d3
lea ebp, [esp + 4]
mov word [ebp + 0x30], 1
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x20]
push 0
call sub.KERNEL32.dll_CreateProcessW
mov dword [esp + 0x58], eax
cmp dword [esp + 0x58], 0
je 0x45435c
mov ebx, dword [esp + 0x74]
and ebx, 1
and ebx, ebx
je 0x454353
lea ebp, [esp + 0x48]
push dword [ebp + 4]
pop eax
mov dword [esp + 0x5c], eax
push 1
call fcn.004be7e3
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x60]
call sub.KERNEL32.dll_GetExitCodeThread
mov ebx, dword [esp + 0x60]
cmp ebx, 0x103
je 0x454351
jmp 0x454353
jmp 0x45432b
lea ebp, [esp + 0x48]
mov eax, dword [ebp]
jmp 0x45435e
xor eax, eax
push dword [esp]
call fcn.004d4bc0
add esp, 0x64
pop ebx
pop ebp
ret 8
Function at 0x454387
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
push ebx
mov edx, 0xd
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x45438e
call fcn.004d4b50
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0x28
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.ADVAPI32.dll_OpenProcessToken
and eax, eax
je 0x454448
lea eax, [esp + 8]
lea eax, [esp + 8]
push eax
mov eax, 0x5f4862
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueW
and eax, eax
je 0x45443f
lea eax, [esp + 0x10]
lea ebp, [esp + 0x10]
mov dword [ebp], 1
lea ebp, [esp + 8]
push dword [ebp]
lea ebp, [esp + 0x14]
push ebp
pop ebp
pop eax
mov dword [ebp + 4], eax
lea ebp, [esp + 8]
push dword [ebp + 4]
lea ebp, [esp + 0x14]
push ebp
pop ebp
pop eax
mov dword [ebp + 8], eax
push ebp
pop ebp
mov dword [ebp + 0xc], 2
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0
push dword [esp + 0x18]
call sub.ADVAPI32.dll_AdjustTokenPrivileges
push eax
pop eax
mov byte [esp], al
push dword [esp + 4]
call sub.KERNEL32.dll_CloseHandle
movsx eax, byte [esp]
movsx eax, al
jmp 0x454453
add esp, 0x34
pop ebx
pop ebp
ret

Function at 0x459877
Capabilities:
Parse pe header

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

Function at 0x45c374
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x5abca0
push str.FlsAlloc
push 0x1f
call fcn.0045c046
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45c3a8
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x45c3ae
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x45c3f2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x5abcc4
push str.FlsGetValue
push 0x21
call fcn.0045c046
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45c429
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x45c431
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x5abcd8
push str.FlsSetValue
push 0x22
call fcn.0045c046
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45c46b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x45cc2a
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045cba1
Function at 0x45e8ff
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x14a40c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x45e94a
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0045eb5b
test al, al
jne 0x45e944
sub edx, 2
cmp edx, edi
jne 0x45e92a
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x45e96c
lea eax, [edi + 2]
cmp edx, eax
je 0x45e96c
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0045e5c6
add esp, 0x10
jmp 0x45ea66
push esi
lea ecx, [ebp - 0x255]
call fcn.0045eb5b
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45e9af
push dword [ebp - 0x25c]
jmp 0x45e95c
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x45e9ec
cmp word [ebp - 0x226], 0
je 0x45ea0d
cmp word [ebp - 0x226], ax
jne 0x45e9ec
cmp word [ebp - 0x224], 0
je 0x45ea0d
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0045e5c6
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x45ea59
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x45e9c6
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x45ea41
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x45ea66
push 0x45e016
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00466040
add esp, 0x10
jmp 0x45ea36
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045630f
leave
ret

Function at 0x46178e
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0045abeb
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 0x4617fd
cmp esi, dword [ebp - 4]
je 0x4617f8
cmp dword [ebp + 0xc], 0
je 0x4617f8
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4617d5
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004612e0
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4617ff
xor eax, eax
inc eax
jmp 0x4617ff
xor eax, eax
pop edi
pop esi
leave
ret