joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, edx
push edi
push 0
push dword [section..data]
mov dword [ebp - 8], edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
test ebx, ebx
je 0x4016d4
mov edi, esi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4016c3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x4016ef
mov edx, edi
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4016e4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
mov ebx, esi
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x401731
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x401714
test esi, esi
je 0x40173d
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x401735
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [ebp - 4]
mov esi, eax
mov edx, esi
mov ecx, ebx
call fcn.00401000
push ebx
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1096104
Capabilities:
Encode data using xor

Disassembly:
jmp 0x109610e
pushal
call 0x1096114
pop ebp
sub ebp, 0x10
sub ebp, 0xc96104
jmp 0x109612a
mov eax, 0xc96104
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c5
mov edx, 0xe4391386
xor byte [eax], dl
inc eax
dec ecx
jne 0x1096141
jmp 0x1096154
or eax, 0xba0f0d4b
xchg byte [esi + 0x7e470786], al
xchg byte [esi + 0x3e4b8586], al
add byte [esi - 0x51c3797a], 0x86
xchg byte [esi + 0x4e856471], al
or eax, 0x86868a07
xchg byte [ebp - 0x112929bd], al
inc esi
enter 0xffffffffffff8698, 0xffffffffffffffee
ret 0x2d94

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 0x5fe440
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x74000]
push edi
or ebp, 0xffffffff
jmp 0x5fe462
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5fe469
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fe458
mov eax, 1
add ebx, ebx
jne 0x5fe47b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5fe48c
jne 0x5fe4ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fe4ab
dec eax
add ebx, ebx
jne 0x5fe498
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5fe470
add ebx, ebx
jne 0x5fe4a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5fe4fd
xor ecx, ecx
sub eax, 3
jb 0x5fe4c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5fe532
sar eax, 1
mov ebp, eax
jmp 0x5fe4ce
add ebx, ebx
jne 0x5fe4ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fe49c
inc ecx
add ebx, ebx
jne 0x5fe4dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fe49c
add ebx, ebx
jne 0x5fe4e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5fe4de
jne 0x5fe4fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5fe4de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5fe51c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5fe50e
jmp 0x5fe45e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5fe51c
add edi, ecx
jmp 0x5fe45e
pop esi
mov edi, esi
mov ecx, 0x2bc0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5fe53a
cmp byte [edi], 0x1d
jne 0x5fe53a
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 0x5fe53f
lea edi, [esi + 0x1fb000]
mov eax, dword [edi]
or eax, eax
je 0x5fe5b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x20fa7c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20fb80]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5fe56c
mov ecx, edi
jns 0x5fe59b
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 + 0x20fb84]
or eax, eax
je 0x5fe5b1
mov dword [ebx], eax
add ebx, 4
jmp 0x5fe589
call dword [esi + 0x20fb94]
mov ebp, dword [esi + 0x20fb88]
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 0x5fe5eb
sub esp, 0xffffff80
jmp 0x45226c
Function at 0x4013e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4013fb
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401434
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x401430
jmp 0x401420
cmp esi, eax
jae 0x401434
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401420
cmp esi, eax
jb 0x40143b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401e00
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f2d2
mov eax, dword fs:[0]
push eax
mov eax, 0xa00c
call fcn.0042cab0
mov eax, dword [0x4526c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xa014], esi
push esi
mov dword [ebx + 0x18], 0xf
mov dword [ebx + 0x14], esi
push 0x44729e
mov ecx, ebx
mov dword [ebp - 0xa018], ebx
mov byte [ebx + 4], 0
call fcn.00403610
push 0xa000
lea eax, [ebp - 0xa010]
push esi
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0xa014], 1
call fcn.0042cf90
mov al, byte [edi]
add esp, 0xc
test al, al
je 0x401f9b
jmp 0x401e90
movsx ecx, al
test ecx, ecx
jge 0x401e9d
add ecx, 0x100
cmp ecx, 0x1f
jle 0x401f46
cmp ecx, 0x7f
je 0x401f46
cmp ecx, 0x80
jge 0x401f46
cmp ecx, 0x20
je 0x401f46
cmp ecx, 0x60
je 0x401f46
cmp ecx, 0x21
je 0x401f46
cmp ecx, 0x23
je 0x401f46
cmp ecx, 0x24
je 0x401f46
cmp ecx, 0x25
je 0x401f46
cmp ecx, 0x5e
je 0x401f46
cmp ecx, 0x26
je 0x401f46
cmp ecx, 0x28
je 0x401f46
cmp ecx, 0x29
je 0x401f46
cmp ecx, 0x2b
je 0x401f46
cmp ecx, 0x3d
je 0x401f46
cmp ecx, 0x7b
je 0x401f46
cmp ecx, 0x7d
je 0x401f46
cmp ecx, 0x5b
je 0x401f46
cmp ecx, 0x5d
je 0x401f46
cmp ecx, 0x7c
je 0x401f46
cmp ecx, 0x5c
je 0x401f46
cmp ecx, 0x3b
je 0x401f46
cmp ecx, 0x3a
je 0x401f46
cmp ecx, 0x22
je 0x401f46
cmp ecx, 0x27
je 0x401f46
cmp ecx, 0x3c
je 0x401f46
cmp ecx, 0x3e
je 0x401f46
cmp ecx, 0x2c
je 0x401f46
cmp ecx, 0x2f
je 0x401f46
cmp ecx, 0x3f
jne 0x401f87
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
mov byte [ebp + esi - 0xa010], 0x25
sar eax, 4
inc esi
cmp eax, 9
ja 0x401f63
add al, 0x30
jmp 0x401f65
add al, 0x37
and ecx, 0x8000000f
mov byte [ebp + esi - 0xa010], al
jns 0x401f79
dec ecx
or ecx, 0xfffffff0
inc ecx
inc esi
cmp ecx, 9
ja 0x401f84
add cl, 0x30
jmp 0x401f87
add cl, 0x37
mov al, byte [edi + 1]
inc edi
mov byte [ebp + esi - 0xa010], cl
inc esi
test al, al
jne 0x401e90
lea eax, [ebp - 0xa010]
mov byte [ebp + esi - 0xa010], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401fb0
sub eax, edx
push eax
lea ecx, [ebp - 0xa010]
push ecx
mov ecx, ebx
call fcn.00403610
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042aacd
mov esp, ebp
pop ebp
ret

Function at 0x403790
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4037c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4037e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
pop ebp
ret 8
Function at 0x4037f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f280
mov eax, dword fs:[0]
push eax
mov eax, 0xc800c
call fcn.0042cab0
mov eax, dword [0x4526c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc8000
lea eax, [ebp - 0xc8010]
push 0
mov dword [ebp - 4], 1
push eax
xor bl, bl
mov dword [ebp - 0xc8018], 0x64000
call fcn.0042cf90
mov edx, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp - 0xc8014]
push ecx
push 0x20019
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4038fc
lea eax, [ebp + 0xc]
push 0x447224
push eax
call fcn.004012e0
add esp, 8
test al, al
je 0x4038b3
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xc8018]
push ecx
mov ecx, dword [ebp - 0xc8014]
lea edx, [ebp - 0xc8010]
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4038ef
lea edx, [ebp - 0xc8010]
push edx
jmp 0x4038df
mov edx, dword [ebp - 0xc8014]
lea eax, [ebp - 0xc8018]
push eax
lea ecx, [ebp - 0xc8010]
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4038ef
lea eax, [ebp - 0xc8010]
push eax
push 0x4472a0
push esi
mov bl, 1
call fcn.004031b0
add esp, 0xc
mov ecx, dword [ebp - 0xc8014]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40391f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403945
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042aacd
mov esp, ebp
pop ebp
ret 8
Function at 0x40dffa
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x40e025
call fcn.004159c3
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x40e048
push eax
push dword [esi + 4]
call fcn.0040df80
push esi
push eax
mov ecx, 0x453d7c
call fcn.0040dc07
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x40e846
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x43dcbd
call fcn.0042c705
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0040e806
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00401ad0
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x40e8ac
push eax
push dword [esi + 8]
call fcn.0040df80
push dword [esi + 0xc]
mov ecx, 0x453d7c
push eax
call fcn.0040dc07
mov eax, esi
call fcn.0042c7dd
ret 0x18

Function at 0x41b3c8
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 0x41b40f
call fcn.004159c3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41b40f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41b42b
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041af40
mov esi, eax
test edi, edi
je 0x41b429
test ebx, ebx
je 0x41b429
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41d694
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x43ecc5
call fcn.0042c705
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41d6b9
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41d6ff
lea ecx, [ebp - 0x10]
call fcn.00401ad0
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.0040d3ee
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.00401ab0
mov eax, esi
call fcn.0042c7dd
ret 8
Function at 0x41e453
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x41e477
cmp dword [edi + 0x54], 0
jne 0x41e477
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004159c3
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041e414
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41fe53
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4526c4]
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 0x41feeb
push 0x443774
push 4
push eax
call fcn.0042c829
push eax
call fcn.00401490
add esp, 0x10
push ebx
push edi
call fcn.0042ca38
mov edi, dword [eax]
call fcn.0042ca38
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.0042c9d5
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0042ca38
cmp dword [eax], ebx
je 0x41ff02
call fcn.0042ca38
push dword [eax]
call fcn.0040d4c3
pop ecx
jmp 0x41ff09
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41fe96
jmp 0x41ff90
call fcn.0042ca38
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x41ff8c
cmp dword [ebp - 0x234], esi
jae 0x41ff8c
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.0042cf90
add esp, 0xc
push 0x441f64
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x41ff7b
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x41ff7b
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x41ff7b
push ebx
push ebx
push esi
jmp 0x41ff84
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x41ff8e
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042aacd
leave
ret
Function at 0x4228cb
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 0x422913
call fcn.004159c3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x422913
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x422956
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 0x42293f
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 0x42293f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x422953
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

Function at 0x42aacd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4526c4]
jne 0x42aad7
repz ret
jmp fcn.00430023
Function at 0x438689
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.0042fa32
and dword [ebp - 4], 0
cmp dword [0x456818], 0
mov ebx, eax
jne 0x43873a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4387eb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4387eb
push eax
call fcn.0042f9c0
mov dword [esp], 0x4456f0
push edi
mov dword [0x456818], eax
call esi
push eax
call fcn.0042f9c0
mov dword [esp], 0x4456dc
push edi
mov dword [0x45681c], eax
call esi
push eax
call fcn.0042f9c0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x456820], eax
call esi
push eax
call fcn.0042f9c0
pop ecx
mov dword [0x456828], eax
test eax, eax
je 0x43873a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042f9c0
pop ecx
mov dword [0x456824], eax
mov eax, dword [0x456824]
cmp eax, ebx
je 0x438792
cmp dword [0x456828], ebx
je 0x438792
push eax
call fcn.0042fa3b
push dword [0x456828]
mov esi, eax
call fcn.0042fa3b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x438792
test edi, edi
je 0x438792
call esi
test eax, eax
je 0x438789
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x438789
test byte [ebp - 0xc], 1
jne 0x438792
or dword [ebp + 0x10], 0x200000
jmp 0x4387cb
mov eax, dword [0x45681c]
cmp eax, ebx
je 0x4387cb
push eax
call fcn.0042fa3b
pop ecx
test eax, eax
je 0x4387cb
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4387cb
mov eax, dword [0x456820]
cmp eax, ebx
je 0x4387cb
push eax
call fcn.0042fa3b
pop ecx
test eax, eax
je 0x4387cb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x456818]
call fcn.0042fa3b
pop ecx
test eax, eax
je 0x4387eb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4387ed
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40fd30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ebx
mov ebx, 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], 0
push 1
push 0x50dc30
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x40fdb3
mov eax, 0x51eb851f
imul ebx
sar edx, 5
imul ecx, edx, 0xffffff9c
add ecx, ebx
jne 0x40fdb3
cmp ebx, 0x15f90
jl 0x40fdaa
cmp ebx, 0x1d4c0
jge 0x40fd87
mov eax, 0x32
jmp 0x40fdac
cmp ebx, 0x2bf20
jge 0x40fd96
mov eax, 0x64
jmp 0x40fdac
mov eax, 0x1482
cmp ebx, 0x57d78
jl 0x40fdac
mov eax, 0xfa
jmp 0x40fdac
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
test eax, eax
je 0x40fdc3
inc ebx
cmp ebx, 0x57e40
jl 0x40fd48
mov eax, dword [ebp - 4]
test eax, eax
je 0x40fddd
mov dword [ebp - 0x14], 0x98
lea eax, [ebp - 0x14]
push eax
call fcn.0043a240
add esp, 4
mov eax, dword [0x50dc34]
test eax, eax
jne 0x40fe13
cmp dword [0x50acc0], 1
je 0x40fece
xor esi, esi
xor ebx, ebx
call fcn.0040fef0
mov dword [0x50dc34], 1
cmp dword [0x50acc0], 1
je 0x40feb6
mov dword [0x50dc30], 0
push dword [0x50dc2c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
test edx, edx
je 0x40fe40
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [eax], edx
xor eax, eax
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0x70
call fcn.00431e20
add esp, 0xc
test eax, eax
je 0x40fe6a
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, 0x70
mov ecx, dword [edx + 0x50ac1c]
mov dword [eax + edx - 4], ecx
mov ebx, dword [edx + 0x50ac18]
mov dword [eax + edx - 8], ebx
mov esi, dword [edx + 0x50ac14]
mov dword [eax + edx - 0xc], esi
mov ecx, dword [edx + 0x50ac10]
mov dword [eax + edx - 0x10], ecx
sub edx, 0x10
jne 0x40fe72
push dword [ebp - 0x10]
push dword [0x50dc2c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [ebp - 0x10]
jmp 0x40fe2f
push ebx
push 2
call fcn.0047f5e0
push esi
push 0x16
call fcn.0047f5e0
add esp, 0x10
jmp 0x40fe13
push 1
push 2
call fcn.0047f5e0
mov ebx, eax
push 1
push 0x16
call fcn.0047f5e0
mov esi, eax
add esp, 0x10
jmp 0x40fdf7

Function at 0x40fef0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x50dc20], 0
je 0x40ff00
mov esp, ebp
pop ebp
ret
mov dword [0x50dc20], 1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x50dc2c], eax
cmp eax, 0xffffffff
jne 0x40ff26
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esp, ebp
pop ebp
ret
push 0x40fd10
call fcn.0047fbb0
push 0x40fcd0
call fcn.0047fbb0
add esp, 8
jmp 0x40fefc