joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1012d6c
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
test byte [ebp - 0x3c], 1
jne 0x1017cba
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call fcn.01001635
mov dword [0x10540e8], eax
cmp dword [0x10540dc], 0
jne 0x102de84
push eax
call dword [sym.imp.msvcrt.dll_exit]
nop
push edi
add byte [ecx], ch
outsb dx, byte [esi]
add byte [eax + eax + 0x6f], ah
add byte [edi], dh
pop edi
add byte [eax], dl
insb byte es:[edi], dx
add byte [ecx], ah
arpl word [eax], ax
add byte gs:[ebp], ch
add byte gs:[esi], ch
je 0x10121d4
add byte [eax], al
nop
nop
nop
nop
nop
call fcn.01012abc
push 0x58
push 0x1012ee8
call fcn.0100c768
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1054a68
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x102ddfd
xor esi, esi
inc esi
mov eax, dword [0x1054194]
cmp eax, esi
je 0x102de1b
mov eax, dword [0x1054194]
test eax, eax
jne 0x1017cc3
mov dword [0x1054194], esi
push 0x1012ee0
push 0x1012ed4
call fcn.01012d43
pop ecx
pop ecx
test eax, eax
jne 0x102dea8
mov eax, dword [0x1054194]
cmp eax, esi
jne 0x1012e1d
push 0x1012ed0
push 0x1012e68
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1054194], 2
test ebx, ebx
jne 0x1012e29
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1055af8], 0
jne 0x102de28
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
jbe 0x1012f10
cmp al, 0x22
je 0x1017cce
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
jne 0x102de4c
inc esi
jmp 0x1012e3d
test al, al
je 0x1012f1e
cmp dword [ebp - 0x1c], 0
jne 0x1012e4a
mov al, byte [esi]
test al, al
je 0x101217f
cmp al, 0x20
ja 0x101217f
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1012f1e
movzx eax, word [ebp - 0x38]
jmp 0x101218c
mov dword [0x10580bc], esi
jmp 0x1012df9
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
jmp 0x1012e52
cmp eax, esi
jne 0x102de0b
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1012dc0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1012dab
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1012df9
push 0x1055af8
call fcn.010488f7
pop ecx
test eax, eax
je 0x1012e36
push 0
push 2
push 0
call dword [0x1055af8]
jmp 0x1012e36
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1012e65
cmp dword [0x10580bc], 0
jne 0x102de93
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x10540e8]
jmp 0x102deb4
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0100c7ad
ret
Function at 0x1013858
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1054064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.01013929
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x10138fa
cmp dword [ebp - 0x94], 5
jb 0x10138cd
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x1013914
call fcn.010137ae
test eax, eax
jl 0x102db59
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01001e8f
leave
ret
cmp dword [ebp - 0x88], 1
je 0x102db41
jmp 0x10138cd
cmp dword [ebp - 0x90], 0
jbe 0x10138cd
jmp 0x10138c9
cmp dword [ebp - 0x94], 4
ja 0x10138c9
je 0x1013909
jmp 0x10138cd
mov byte [0x1058040], 1
jmp 0x10138eb
Function at 0x1017996
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x104c67c
call fcn.01002009
mov esi, ecx
cmp dword [ebp + 8], 0
jne 0x1017a5e
mov eax, dword [esi + 0x368]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov eax, dword [esi + 0x130]
push 5
push eax
call edi
push 0x180
call fcn.01002286
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
test ecx, ecx
je 0x1017a5a
push dword [esi + 0x120]
lea eax, [esi + 0x364]
push eax
push dword [esi + 0xec]
lea eax, [esi + 0x358]
push dword [esi + 0xe8]
push dword [esi + 0xe4]
push eax
push 0xaf
push 0xa5
lea eax, [esi + 0x140]
push eax
lea eax, [esi + 0x12c]
push eax
call fcn.01017b5b
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [esi + 0x128], eax
push dword [ebp + 8]
call fcn.01017a6b
cmp dword [ebp + 8], 0
jne 0x1017a52
mov ecx, dword [esi + 0xf0]
push 0
push dword [esi + 0x128]
call fcn.0100bfef
call fcn.01001f6b
ret 4
xor eax, eax
jmp 0x1017a25
mov ecx, dword [esi + 0x128]
jmp 0x1017a31

Function at 0x101a695
Capabilities:
Get graphical window text

Disassembly:
push 0x3f4
mov eax, 0x104dab7
call fcn.01001ea1
mov edi, dword [ebp + 8]
push 0xffffffffffffffeb
push edi
mov esi, ecx
call fcn.0101a733
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
push 0x1f4
lea eax, [ebp - 0x3f8]
push eax
push edi
mov ecx, esi
call fcn.0101a733
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esi + 0x18], 0
je 0x10291a8
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x3fc]
call fcn.0100c4ba
lea eax, [ebp - 0x3fc]
push eax
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.0101ed6a
mov ecx, dword [esi + 0x34]
push eax
call fcn.0101ed6a
mov ecx, dword [esi + 0x10]
push eax
call fcn.01019c4f
mov ecx, dword [ebp - 0x3fc]
add ecx, 0xfffffff0
call fcn.0100882d
call fcn.01001f5c
ret 4
mov ecx, ebx
call fcn.0101ed6a
mov ecx, dword [esi + 0x34]
push eax
call fcn.0101ed6a
mov ecx, dword [esi + 0x10]
push eax
call fcn.01019b2f
push eax
lea ecx, [ebp - 0x400]
call fcn.01034716
and dword [ebp - 4], 0
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x400]
call fcn.0101f0d1
test eax, eax
je 0x1029244
add edi, 7
push edi
mov ecx, esi
call fcn.0101a733
push 1
mov ecx, ebx
mov edi, eax
call fcn.0101ed6a
mov ecx, dword [esi + 0x34]
push eax
call fcn.0101ed6a
mov ecx, dword [esi + 0x10]
push eax
call fcn.010307b0
push 1
mov ecx, esi
call fcn.0101a508
push eax
mov ecx, ebx
call fcn.01003338
push eax
lea eax, [ebp - 0x3fc]
push eax
call fcn.010211ce
push dword [eax]
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0x3fc]
add ecx, 0xfffffff0
call fcn.0100882d
mov ecx, dword [ebp - 0x400]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0100882d
jmp 0x101a6df
Function at 0x101bef1
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x104c67c
call fcn.01002009
mov esi, ecx
cmp dword [ebp + 8], 0
jne 0x101bfc6
mov eax, dword [esi + 0x368]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov eax, dword [esi + 0x130]
push 5
push eax
call edi
push 0x1d8
call fcn.01002286
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
test ecx, ecx
je 0x101bfc2
push dword [esi + 0x120]
lea eax, [esi + 0x364]
push eax
push dword [esi + 0xec]
lea eax, [esi + 0x358]
push dword [esi + 0xe8]
push dword [esi + 0xe4]
push eax
push 0xb4
push 0xaa
lea eax, [esi + 0x294]
push eax
lea eax, [esi + 0x12c]
push eax
call fcn.0101c0c3
or dword [ebp - 4], 0xffffffff
mov edi, eax
mov dword [esi + 0x128], eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0101bfd3
cmp dword [ebp + 8], 0
jne 0x101bfb3
mov ecx, dword [esi + 0xf0]
push 2
push dword [esi + 0x128]
call fcn.0100bfef
mov ecx, edi
call fcn.0101c3a1
call fcn.01001f6b
ret 4
xor eax, eax
jmp 0x101bf84
mov edi, dword [esi + 0x128]
jmp 0x101bf90

Function at 0x101caf9
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 8]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
add eax, 0x2bc
push eax
push ebx
call esi
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
push 2
lea eax, [ebp + 8]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ax, word [ebp + 0xc]
cmp word [ebp + 8], ax
jne 0x1028b11
pop edi
pop esi
pop ebx
leave
ret 8
mov word [ebp + 8], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 2
lea eax, [ebp - 0x14]
push eax
mov edi, 0x435
push edi
push ebx
call esi
push eax
push ebx
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [ebp + 8]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x101cb4a
Function at 0x101d702
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ecx + 0xf8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
cmp eax, 0x2fb
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
jg 0x101d759
push dword [ebp - 4]
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 0xc], eax
call edi
push dword [ebp - 0xc]
call ebx
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x2fb
jle 0x101d738
mov eax, 0x2bc
cmp dword [ebp + 8], eax
mov dword [ebp - 4], eax
jl 0x101d786
push dword [ebp - 4]
push dword [ebp - 8]
call esi
push 5
push eax
mov dword [ebp - 0xc], eax
call edi
push dword [ebp - 0xc]
call ebx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jle 0x101d766
push 0x431
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x430
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x42f
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x434
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x433
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x432
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
mov eax, dword [ebp + 8]
sub eax, 0x2c3
je 0x101d8a4
sub eax, 8
je 0x101d88d
sub eax, 0x10
je 0x101d876
sub eax, 0x20
jne 0x101d8b8
push 0x434
push dword [ebp - 8]
call esi
push 5
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x433
push dword [ebp - 8]
call esi
push 5
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x432
push dword [ebp - 8]
call esi
push 5
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x431
push dword [ebp - 8]
call esi
push 5
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x430
push dword [ebp - 8]
call esi
push 5
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x42f
push dword [ebp - 8]
call esi
mov esi, eax
push 5
push esi
call edi
push esi
call ebx
mov ecx, dword [ebp - 0x10]
call fcn.0101d8cc
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x101ec6f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
push dword [ebp + 8]
mov ebx, 0x80004005
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x101ed0b
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
shr esi, 1
je 0x101ed02
push dword [ebp + 0xc]
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x101ed0b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x101ed02
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
xor ebx, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0100329a
add esi, esi
push esi
push dword [ebp + 0xc]
mov edi, eax
push edi
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp + 0x10]
add esp, 0x10
xor eax, eax
push edi
mov word [esi + edi], ax
call fcn.0100c38d
push edi
call fcn.01001ff8
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1027f15
test eax, eax
jle 0x1027f23
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
jmp 0x101ed02

Function at 0x1020998
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10209ed
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10209f1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x10209df
cmp esi, eax
jae 0x10209f1
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10209d1
cmp esi, eax
jae 0x10209f1
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc
xor eax, eax
jmp 0x10209ec
Function at 0x1022b6d
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
xor edi, edi
push edi
push edi
mov esi, ecx
push 0x188
push dword [esi + 0x88]
mov dword [ebp - 4], edi
call ebx
cmp eax, edi
jl 0x1022cd8
cmp dword [esi + 0x80], edi
jne 0x1022cd8
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0x198
push dword [esi + 0x88]
mov dword [esi + 0x90], eax
call ebx
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
mov ecx, esi
call dword [eax]
cmp dword [ebp - 4], edi
je 0x1022cd8
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x18]
cmp edi, dword [ebp - 8]
jl 0x1022bee
mov edi, dword [ebp - 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
sub edi, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push 0
push dword [esi + 0x88]
dec eax
push edi
push eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
inc eax
push eax
push 0x50000046
push dword [ebp - 4]
push 0x100c300
push 8
call dword [sym.imp.USER32.dll_CreateWindowExW]
push dword [ebp - 4]
mov dword [esi + 0x80], eax
call fcn.01001ff8
pop ecx
push dword [esi + 0x94]
push dword [esi + 0x80]
call fcn.0100d5cb
push dword [esi + 0x84]
push 1
push 0x102262e
push dword [esi + 0x80]
call sub.COMCTL32.dll_SetWindowSubclass
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
push esi
push 0xffffffffffffffeb
push dword [esi + 0x80]
call edi
push 0
push dword [esi + 0x54]
push 0x30
push dword [esi + 0x80]
call ebx
push 0x19a
push 0xfffffffffffffff4
push dword [esi + 0x80]
call edi
push 5
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x41b
push dword [esi + 0x84]
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 0
push 0x41c
push dword [esi + 0x84]
call edi
push eax
call ebx
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10238ba
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor eax, eax
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov ebx, 0x80010000
cmp dword [0x105521c], eax
jne 0x1025cd3
mov ecx, 0x1054568
call fcn.01003341
mov ecx, eax
call fcn.01002757
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0100329a
pop ecx
mov edi, eax
push esi
push edi
push dword [ebp - 0xc]
xor eax, eax
mov word [edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x1054300]
mov ecx, dword [eax + 0x10]
push esi
push edi
call fcn.010039b1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
shr eax, 0x10
push edi
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xf0]
call fcn.010239a6
mov esi, eax
test esi, esi
je 0x1025d40
push edi
call fcn.01001ff8
cmp dword [ebp - 4], 0
mov edi, dword [sym.imp.msvcrt.dll_free]
pop ecx
je 0x1023978
push dword [ebp - 4]
call edi
pop ecx
cmp dword [ebp - 8], 0
jne 0x1025d55
cmp dword [0x105521c], 0
jne 0x1025d60
mov eax, dword [0x10540ac]
or dword [eax + 0x24], 2
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
mov al, byte [0x1055220]
cmp al, 4
jae 0x1025ce4
test al, al
jne 0x10238e1
mov eax, dword [0x1055208]
mov ecx, dword [0x105520c]
mov edx, 0x10000
and eax, edx
and ecx, ebx
or eax, ecx
je 0x10238e1
mov eax, dword [0x1055210]
mov esi, dword [0x1055214]
mov ecx, eax
and ecx, edx
mov edx, esi
and edx, ebx
cmp ecx, eax
jne 0x10238e1
cmp edx, esi
jne 0x10238e1
push 0x18
push 0x1025dd0
push dword [0x1054a74]
push dword [0x1054a70]
call fcn.01032202
jmp 0x10238e1
mov eax, dword [0x10540ac]
or dword [eax + 0x24], 4
push esi
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x102395f
push dword [ebp - 8]
call edi
pop ecx
jmp 0x1023982
mov al, byte [0x1055220]
cmp al, 4
jae 0x1025d71
test al, al
jne 0x102398f
mov eax, dword [0x1055208]
mov ecx, dword [0x105520c]
mov edx, 0x10000
and eax, edx
and ecx, ebx
or eax, ecx
je 0x102398f
mov eax, dword [0x1055210]
mov edi, dword [0x1055214]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, ebx
cmp ecx, eax
jne 0x102398f
cmp edx, edi
jne 0x102398f
push 0x19
push 0x1025de0
push dword [0x1054a74]
push dword [0x1054a70]
call fcn.01032202
jmp 0x102398f
Function at 0x1023cde
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 6
push dword [esi + 0x80]
call fcn.0100d5cb
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [esi + 0x88]
call edi
mov ecx, esi
call fcn.0100e35f
and dword [esi + 0x80], 0
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0x41b
add esi, 0x84
push dword [esi]
call ebx
push eax
call edi
push 1
push 0x41c
push dword [esi]
call ebx
push eax
call edi
pop edi
pop esi
pop ebx
ret

Function at 0x1023f60
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x104c67c
call fcn.01002009
mov esi, ecx
cmp dword [ebp + 8], 0
jne 0x1024028
mov eax, dword [esi + 0x368]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov eax, dword [esi + 0x130]
push 5
push eax
call edi
push 0x1f0
call fcn.01002286
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
test ecx, ecx
je 0x1024024
push dword [esi + 0x120]
lea eax, [esi + 0x364]
push eax
push dword [esi + 0xec]
lea eax, [esi + 0x358]
push dword [esi + 0xe8]
push dword [esi + 0xe4]
push eax
push 0xb4
push 0xaa
lea eax, [esi + 0x1b8]
push eax
lea eax, [esi + 0x12c]
push eax
call fcn.010241aa
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [esi + 0x128], eax
push dword [ebp + 8]
call fcn.01024035
cmp dword [ebp + 8], 0
jne 0x102401c
mov ecx, dword [esi + 0xf0]
push 1
push dword [esi + 0x128]
call fcn.0100bfef
call fcn.01001f6b
ret 4
xor eax, eax
jmp 0x1023fef
mov ecx, dword [esi + 0x128]
jmp 0x1023ffb

Function at 0x1032a08
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push 0
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x1054304], 3
jne 0x1032a34
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
mov ecx, esi
call fcn.01015162
push 1
mov ecx, 0x1054210
call fcn.0100ecc9
mov ecx, 0x1054574
pop esi
jmp 0x10338cf
xor eax, eax
push eax
cmp byte [ecx + 8], al
je 0x10338e0
mov byte [ecx + 8], al
call fcn.0100d4d6
ret
mov byte [ecx + 8], 1
call fcn.0100334a
ret

Function at 0x103399c
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x1054064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x40
lea eax, [ebp - 0x84]
mov esi, ecx
push eax
push dword [esi + 0x410]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x88]
push eax
push 0x40
lea eax, [ebp - 0x84]
push eax
call fcn.01003235
mov edi, eax
test edi, edi
jne 0x1033a16
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 8]
add eax, eax
mov word [ebp + eax - 0x84], cx
xor ecx, ecx
mov word [ebp + eax - 0x82], cx
lea eax, [ebp - 0x84]
push eax
push dword [esi + 0x410]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
xor eax, eax
test edi, edi
sete al
pop edi
xor ecx, ebp
pop esi
call fcn.01001e8f
leave
ret 4
Function at 0x10364d5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x1054064]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x404], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x3e6
push eax
mov word [ebp - 0x400], ax
lea eax, [ebp - 0x3fe]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
xor eax, eax
push 0xa
mov word [esi], ax
lea eax, [ebp - 0x18]
push eax
push 0xc
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x18]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x1036533
sub eax, ecx
sar eax, 1
add eax, eax
push 0x20
pop ecx
mov word [ebp + eax - 0x18], cx
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
mov word [ebp + eax - 0x16], cx
mov ebx, 0x10366f4
mov edi, 0x1f4
jle 0x10365ae
push dword [ebp + 0x10]
lea eax, [ebp - 0x400]
push ebx
push edi
push eax
call fcn.01013d4d
add esp, 0x10
lea eax, [ebp - 0x400]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0100440b
test eax, eax
jne 0x10365a4
cmp dword [ebp + 0x10], 1
push dword [ebp + 0xc]
push esi
jle 0x103659a
push 0x390
jmp 0x103659f
push 0x391
call fcn.0103646d
mov dword [ebp - 0x404], 1
cmp dword [ebp + 0x14], 0
jle 0x1036619
cmp dword [ebp - 0x404], 0
je 0x10365cc
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0100440b
jmp 0x10365d6
mov dword [ebp - 0x404], 1
push dword [ebp + 0x14]
lea eax, [ebp - 0x400]
push ebx
push edi
push eax
call fcn.01013d4d
add esp, 0x10
lea eax, [ebp - 0x400]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0100440b
test eax, eax
jne 0x1036619
cmp dword [ebp + 0x14], 1
push dword [ebp + 0xc]
push esi
jle 0x103660f
push 0x392
jmp 0x1036614
push 0x393
call fcn.0103646d
cmp dword [ebp + 0x18], 0
jle 0x1036684
cmp dword [ebp - 0x404], 0
je 0x1036637
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0100440b
jmp 0x1036641
mov dword [ebp - 0x404], 1
push dword [ebp + 0x18]
lea eax, [ebp - 0x400]
push ebx
push edi
push eax
call fcn.01013d4d
add esp, 0x10
lea eax, [ebp - 0x400]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0100440b
test eax, eax
jne 0x1036684
cmp dword [ebp + 0x18], 1
push dword [ebp + 0xc]
push esi
jle 0x103667a
push 0x394
jmp 0x103667f
push 0x395
call fcn.0103646d
cmp dword [ebp + 0x1c], 0
jle 0x10366e3
cmp dword [ebp - 0x404], 0
je 0x10366a0
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0100440b
push dword [ebp + 0x1c]
lea eax, [ebp - 0x400]
push ebx
push edi
push eax
call fcn.01013d4d
add esp, 0x10
lea eax, [ebp - 0x400]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0100440b
test eax, eax
jne 0x10366e3
cmp dword [ebp + 0x1c], 1
push dword [ebp + 0xc]
push esi
jle 0x10366d9
push 0x396
jmp 0x10366de
push 0x397
call fcn.0103646d
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001e8f
leave
ret 0x18