joyce8/EMBER2024-capa huggingface dataset:
Function at 0x496f9e
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [ebx + 0x9c], ecx
cmp dword [ebx + 0x90], ecx
je 0x49701e
cmp dword [ebp + 0xc], ecx
jne 0x49701e
cmp dword [ebx + 0x94], ecx
jne 0x49701e
mov eax, dword [ebx + 0x20]
cmp eax, ecx
je 0x497014
cmp eax, 0xffffffff
je 0x497014
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xc8]
push dword [ebp - 8]
call fcn.0040a4e8
mov dword [ebx + 0x9c], eax
test eax, eax
jne 0x49701e
xor eax, eax
jmp 0x49715e
mov dword [ebx + 0x9c], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xec]
test eax, eax
je 0x497059
cmp dword [ebp + 0xc], 0
jne 0x497059
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xd8]
push dword [ebp - 8]
call fcn.0040a4e8
test eax, eax
jne 0x49700d
xor ecx, ecx
cmp dword [ebx + 0x9c], ecx
jne 0x49707f
mov eax, dword [ebx + 0x20]
cmp eax, ecx
jbe 0x49707f
cmp eax, 0xffffffff
je 0x49707f
cmp dword [ebx + 0x90], ecx
jne 0x49707f
cmp dword [ebx + 0xa8], ecx
je 0x49700d
push dword [ebx + 0x6c]
push 0x57a5ec
call fcn.00417d57
lea esi, [ebx + 0x8c]
mov dword [ebp - 4], eax
mov eax, dword [esi]
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x4970b8
mov dword [eax + 0xf8], edi
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebp - 4]
mov dword [esi], edi
cmp ecx, edi
je 0x49711e
push edi
jmp 0x497119
push dword [ebx + 0x6c]
push 0x57a22c
call fcn.00417d57
pop ecx
pop ecx
cmp dword [ebp + 0xc], edi
je 0x4970e4
cmp eax, edi
je 0x4970e4
cmp dword [0x581ad4], edi
jne 0x4970e4
push 1
push ebx
mov ecx, eax
call fcn.0047f761
jmp 0x497111
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x4970fc
push edi
call fcn.0043b862
cmp eax, edi
je 0x4970fc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x58]
push dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test eax, eax
je 0x49700d
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x49711e
push ebx
call fcn.0043e398
cmp dword [ebx + 0x6c], edi
je 0x49715b
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0042ed4c
mov eax, dword [eax + 0x94]
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x401
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x6c]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4a9391
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x52b22b
call fcn.0050a130
xor edi, edi
cmp dword [0x57a144], edi
je 0x4a945a
cmp dword [0x57ad38], 0xfffffffe
jne 0x4a9447
cmp dword [ebp + 8], 0xffffffff
je 0x4a945a
test byte [0x583608], 1
mov esi, 0x5835e8
jne 0x4a93f0
or dword [0x583608], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0041e901
push 0x5321c8
call fcn.005091dd
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.0041e958
cmp dword [0x5835e4], edi
je 0x4a9404
call fcn.004157fb
push edi
push edi
push 0x4a9339
call fcn.0050ff7b
add esp, 0xc
mov dword [0x5835e4], eax
cmp eax, edi
jbe 0x4a9434
cmp eax, 0xffffffff
je 0x4a9434
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 8]
mov dword [0x57ad38], eax
jmp 0x4a943a
mov dword [0x5835e4], edi
push 0x5835f0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4a945a
mov eax, dword [ebp + 8]
mov dword [0x57ad38], eax
cmp eax, 0xffffffff
jne 0x4a945a
mov dword [0x5835e4], edi
call fcn.0050a208
ret
Function at 0x4e2515
Capabilities:
Get common file path

Disassembly:
push 0x120
mov eax, 0x52d766
call fcn.0050a199
mov esi, ecx
mov dword [ebp - 0x128], esi
call fcn.004e7f09
push 0x15c
call fcn.00408ef2
pop ecx
mov ecx, eax
mov dword [ebp - 0x124], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x4e2559
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.004e986b
jmp 0x4e255b
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.004e7edb
call fcn.004118dd
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x88]
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov byte [ebp + esi - 0x114], 0x5c
inc esi
mov dword [ebp - 0x124], esi
mov byte [ebp + esi - 0x114], bl
mov dword [ebp - 0x120], ebx
cmp edi, ebx
je 0x4e26f5
cmp dword [edi + 4], ebx
jle 0x4e26f5
lea ecx, [ebp - 0x118]
call fcn.00404340
mov edx, dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x114]
push eax
push ebx
lea eax, [ebp - 0x118]
push eax
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x4e26d9
lea ecx, [ebp - 0x11c]
call fcn.00404340
mov eax, dword [ebp - 0x120]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4e262a
push dword [ebp - 0x118]
lea eax, [ebp - 0x11c]
push 0x54d218
push eax
call fcn.00403b10
add esp, 0xc
jmp 0x4e265c
jge 0x4e264a
push dword [ebp - 0x118]
inc eax
push eax
lea eax, [ebp - 0x11c]
push str._d__s
push eax
call fcn.00403b10
add esp, 0x10
jmp 0x4e265c
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00403720
push 0x15c
call fcn.00408ef2
pop ecx
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4e2680
mov ecx, eax
call fcn.004bb439
mov esi, eax
jmp 0x4e2682
xor esi, esi
push dword [ebp - 0x11c]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebx + 0xe110]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push ebx
mov ecx, edi
call fcn.0041e328
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x128]
push esi
call fcn.004e7edb
mov ecx, dword [ebp - 0x11c]
inc dword [ebp - 0x120]
add ecx, 0xfffffff0
call fcn.00404320
mov esi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x118]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00404320
inc ebx
cmp ebx, dword [edi + 4]
jl 0x4e25c3
call fcn.0050a21c
ret
Function at 0x4e706c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e7084
mov edi, dword [esi + 0xc]
jmp 0x4e70c4
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4e709d
call fcn.00411d00
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e70b2
call fcn.00411d00
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e70c4
call fcn.00411d00
call fcn.004118dd
cmp dword [eax + 0x3c], 0
je 0x4e70d9
push edi
mov ecx, ebx
call fcn.004e5ecf
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e6f92
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4e70f7
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e7103
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4ee667
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x20a
push esi
mov esi, ecx
jne 0x4ee6b1
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4ee6b1
call fcn.004edf20
test eax, eax
je 0x4ee6b1
push dword [ebx + 0xc]
mov eax, dword [esi + 0x54]
push dword [ebx + 8]
mov ecx, dword [eax + 0xb4]
push dword [ebx + 4]
call fcn.00403700
xor eax, eax
inc eax
jmp 0x4ee8c9
cmp dword [ebx + 4], 0x100
push edi
jne 0x4ee8c0
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jl 0x4ee7ae
push 0x11
call edi
test ax, ax
jl 0x4ee7ae
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4ee7ae
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x4ee721
cmp eax, 0x20
jbe 0x4ee7ae
cmp eax, 0x24
jbe 0x4ee714
cmp eax, 0x26
je 0x4ee714
cmp eax, 0x28
jne 0x4ee7ae
call fcn.004edf20
test eax, eax
je 0x4ee7ae
mov ecx, esi
call fcn.004105cd
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
call fcn.004edf20
test eax, eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
je 0x4ee756
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.00403700
jmp 0x4ee8bb
call fcn.0040db4a
test eax, eax
je 0x4ee8bb
mov eax, dword [esi + 0x54]
add eax, 0xb8
push eax
mov ecx, esi
call fcn.0040dbd4
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x4ee784
xor edi, edi
jmp 0x4ee787
mov edi, dword [eax + 0x20]
mov esi, dword [esi + 0x54]
mov ecx, dword [esi + 0xb4]
movzx esi, word [esi + 0x20]
call fcn.0040db4a
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4ee8bb
mov eax, dword [ebx + 8]
sub eax, 9
je 0x4ee88a
sub eax, 0x12
je 0x4ee862
sub eax, 0xb
je 0x4ee7d0
dec eax
dec eax
jne 0x4ee8c0
push 0x12
call edi
test ax, ax
jl 0x4ee8c0
push 0x11
call edi
test ax, ax
jl 0x4ee8c0
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4ee8c0
call fcn.004edf20
test eax, eax
jne 0x4ee8bb
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
push 1
call fcn.004ede9a
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
push dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.0040c787
test eax, eax
je 0x4ee8bb
mov esi, dword [esi + 0x54]
lea ebx, [esi + 0x90]
mov esi, dword [esi + 0xb4]
push dword [esi + 0x20]
call edi
push eax
call fcn.0040c787
push 1
push ebx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4ee8bb
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4ee876
push 0
call fcn.004ede9a
mov ecx, esi
call fcn.0040d2cd
test eax, eax
je 0x4ee8c0
mov ecx, esi
call fcn.0040d2cd
jmp 0x4ee8b4
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.0040c787
test eax, eax
je 0x4ee8c0
push dword [esi + 0x20]
call edi
push eax
call fcn.0040c787
push 0
push esi
mov ecx, eax
call fcn.004090d8
mov ecx, eax
call fcn.004105cd
xor eax, eax
inc eax
jmp 0x4ee8c8
push ebx
mov ecx, esi
call fcn.0040a54b
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4fb64c
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x524616
call fcn.0050a130
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0x100
jne 0x4fb722
mov ebx, dword [esi + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
je 0x4fb722
cmp ebx, 0x43
je 0x4fb68e
cmp ebx, 0x2d
jne 0x4fb722
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4fb722
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.00404340
movzx ecx, byte [edi + 0xae]
and dword [ebp - 4], 0
push ecx
lea eax, [edi + 0xac]
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.00403b10
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
add esp, 0x14
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00404320
mov esi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.0047e4e4
call fcn.0050a208
ret 4

Function at 0x503899
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp byte [ebp + 0xc], 0
jne 0x5038d9
test edi, edi
jl 0x5038d9
cmp al, 0x20
je 0x5038ce
cmp word [ebp + 8], 0x71
jne 0x5038d9
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x508851
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x57c6c0]
jne 0x50885b
repz ret
jmp fcn.00510684
Function at 0x51df58
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.00510c16
and dword [ebp - 4], 0
cmp dword [0x5852b4], 0
mov ebx, eax
jne 0x51e009
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x51e0ba
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x558d80
push edi
call esi
test eax, eax
je 0x51e0ba
push eax
call fcn.00510ba4
mov dword [esp], 0x558d70
push edi
mov dword [0x5852b4], eax
call esi
push eax
call fcn.00510ba4
mov dword [esp], 0x558d5c
push edi
mov dword [0x5852b8], eax
call esi
push eax
call fcn.00510ba4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5852bc], eax
call esi
push eax
call fcn.00510ba4
pop ecx
mov dword [0x5852c4], eax
test eax, eax
je 0x51e009
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00510ba4
pop ecx
mov dword [0x5852c0], eax
mov eax, dword [0x5852c0]
cmp eax, ebx
je 0x51e061
cmp dword [0x5852c4], ebx
je 0x51e061
push eax
call fcn.00510c1f
push dword [0x5852c4]
mov esi, eax
call fcn.00510c1f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x51e061
test edi, edi
je 0x51e061
call esi
test eax, eax
je 0x51e058
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x51e058
test byte [ebp - 0xc], 1
jne 0x51e061
or dword [ebp + 0x10], 0x200000
jmp 0x51e09a
mov eax, dword [0x5852b8]
cmp eax, ebx
je 0x51e09a
push eax
call fcn.00510c1f
pop ecx
test eax, eax
je 0x51e09a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x51e09a
mov eax, dword [0x5852bc]
cmp eax, ebx
je 0x51e09a
push eax
call fcn.00510c1f
pop ecx
test eax, eax
je 0x51e09a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5852b4]
call fcn.00510c1f
pop ecx
test eax, eax
je 0x51e0ba
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x51e0bc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitialize]
sub esp, 4
lea edx, [0x475e04]
xor eax, eax
lea ecx, [0x475da4]
lea eax, [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x17
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
lea eax, [esp + 0x60]
mov dword [esp], eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
sub esp, 4
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
lea edx, [esp + 0x30]
lea ecx, [esp + 0x74]
mov dword [esp], esi
mov esi, dword [edx]
mov dword [esp + 4], esi
mov esi, dword [edx + 4]
mov dword [esp + 8], esi
mov esi, dword [edx + 8]
mov dword [esp + 0xc], esi
mov edx, dword [edx + 0xc]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call dword [eax + 0x24]
sub esp, 0x18
lea eax, [esp + 0x50]
mov dword [esp], eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
sub esp, 4
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
lea edx, [esp + 0x20]
lea ecx, [esp + 0x70]
mov dword [esp], esi
mov esi, dword [edx]
mov dword [esp + 4], esi
mov esi, dword [edx + 4]
mov dword [esp + 8], esi
mov esi, dword [edx + 8]
mov dword [esp + 0xc], esi
mov edx, dword [edx + 0xc]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call dword [eax + 0x24]
sub esp, 0x18
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
lea ecx, [esp + 0x1c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call dword [eax + 0x2c]
sub esp, 8
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
mov dword [esp], ecx
call dword [eax + 8]
sub esp, 4
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx]
mov dword [esp], ecx
call dword [eax + 8]
sub esp, 4
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
mov dword [esp], ecx
call dword [eax + 8]
sub esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
and al, 1
movzx eax, al
lea esp, [ebp - 4]
pop esi
pop ebp
ret 8
Function at 0x401390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x148
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], 1
call fcn.00401c00
sub esp, 0x10
lea ecx, [esp + 0x74]
call fcn.00401c70
lea ecx, [esp + 0x6c]
call fcn.00401c80
lea ecx, [esp + 0x64]
lea eax, [esp + 0x90]
mov dword [esp], eax
call fcn.00401ca0
sub esp, 4
lea ecx, [esp + 0x78]
lea esi, [esp + 0x64]
lea edx, [esp + 0x6c]
lea eax, [esp + 0x74]
mov edi, dword [esi]
mov dword [esp], edi
mov esi, dword [esi + 4]
mov dword [esp + 4], esi
mov esi, dword [edx]
mov dword [esp + 8], esi
mov edx, dword [edx + 4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.00401cf0
sub esp, 0x14
lea ecx, [esp + 0x90]
call fcn.00401e10
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x63], 0
call fcn.00401e60
lea ecx, [esp + 0x78]
lea eax, str._c_r
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00401e90
sub esp, 8
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x5c], 0xffffffff
je 0x40159c
mov eax, dword [esp + 0x5c]
add eax, 5
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x78]
lea edx, [0x47ee9f]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00401e90
sub esp, 8
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x58]
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x78]
lea esi, [esp + 0x3c]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00401f00
sub esp, 0xc
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x78]
lea edx, [0x47ee85]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00401e90
sub esp, 8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x78]
lea edx, str.__v_
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00401e90
sub esp, 8
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x38]
sub eax, 3
mov edx, dword [esp + 0x38]
add edx, 3
lea ecx, [esp + 0x78]
lea esi, [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00401f00
sub esp, 0xc
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.00401f60
sub esp, 4
mov ecx, eax
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.00401fa0
sub esp, 4
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x78]
lea edx, str._c_r
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00401e90
sub esp, 8
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x1c]
call fcn.00402030
lea ecx, [esp + 0x3c]
call fcn.00402030
jmp 0x401473
mov byte [esp + 0x63], 1
test byte [esp + 0x63], 1
jne 0x4015b5
mov ecx, dword [esp + 0x18]
call fcn.00402060
lea ecx, [esp + 0x78]
call fcn.00402030
lea ecx, [esp + 0x90]
call fcn.00402080
mov eax, dword [esp + 0x14]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret 8
Function at 0x40c6cd
Capabilities:
Parse pe header

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

Function at 0x4292a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.00430958
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x4292df
sub eax, 1
je 0x4292da
sub eax, 1
je 0x4292d6
xor eax, eax
leave
ret
push 3
jmp 0x4292e1
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x454770
Capabilities:
Parse pe header

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

Function at 0x4559ca
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x47b7a8
push 0x47b7a0
push str.FlsAlloc
push 0x1f
call fcn.004563cb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4559fe
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x455a04
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x455a48
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x47b7b8
push 0x47b7b0
push str.FlsGetValue
push 0x21
call fcn.004563cb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x455a7f
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 0x455a87
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.SunMonTueWedThuFriSat
push 0x47b7b8
push str.FlsSetValue
push 0x22
call fcn.004563cb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x455ac1
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]