joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473f40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534829
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [ebp + 0x10]
push ebx
push ebx
push eax
mov dword [ebp - 4], ebx
push 0x400
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esi, eax
cmp esi, ebx
jg 0x473fa2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
inc esi
cmp esi, ebx
jle 0x47400a
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051ec07
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x47400a
mov ecx, esi
test esi, esi
je 0x473fd7
mov edi, edi
mov byte [eax], 0
inc eax
dec ecx
jne 0x473fd0
mov eax, dword [ebp + 0x10]
push esi
push ebx
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x473ff6
push ebx
mov eax, edi
call fcn.005080c0
jmp 0x474001
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
push ebx
call fcn.0051ebab
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x476df0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x575494]
xor eax, ebp
mov dword [ebp - 4], eax
xor al, al
cmp ecx, 0x200
je 0x476e12
cmp ecx, 0x300
jne 0x476e52
xor eax, eax
mov word [ebp - 0x38], ax
mov eax, dword [edi + 0x38]
push esi
test eax, eax
je 0x476e43
push 0x19
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jg 0x476e43
mov edx, dword [edi + 0x34]
push ebx
mov ebx, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + edi + 0x34], eax
pop ebx
lea eax, [ebp - 0x38]
push eax
lea eax, [edi + 0x48]
call fcn.005080c0
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret
Function at 0x478d40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x575494]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [esi + 0x438], 0
je 0x478df3
cmp dword [esi + 0x178], 0x9d8
jne 0x478df3
mov eax, dword [esi + 0x21c]
mov dword [eax + 0x418], 2
mov eax, dword [esi + 0x19c]
xor ecx, ecx
push edi
mov word [ebp - 0x828], cx
test eax, eax
je 0x478dc3
push 0x410
lea edx, [ebp - 0x828]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jg 0x478dc3
mov eax, dword [esi + 0x198]
push ebx
mov ebx, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + esi + 0x198], eax
pop ebx
mov edx, dword [esi + 0x21c]
lea ecx, [ebp - 0x828]
push ecx
add edx, 0x41c
push 0x411
push edx
call fcn.0051f979
add esp, 0xc
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00478e60
mov eax, dword [esi + 0x21c]
mov ecx, dword [esi + 0x434]
mov dword [eax + 0x410], ecx
mov eax, dword [esi + 0x428]
test eax, eax
jne 0x478e1b
mov eax, 0x54ee24
mov edx, dword [esi + 0x21c]
push eax
add edx, 0x208
push 0x104
push edx
call fcn.0051f979
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x21c]
xor ecx, ebp
add esp, 0xc
mov dword [eax + 0x418], 1
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret
Function at 0x478e60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5356a6
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x575494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
mov word [ebp - 0x218], ax
mov eax, dword [esi + 0xa4]
xor ebx, ebx
mov dword [ebp - 0x23c], esi
mov byte [ebp - 0x219], 0
cmp eax, ebx
je 0x478ee1
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, ebx
jg 0x478ee1
mov edx, dword [esi + 0xa0]
mov ebx, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + esi + 0xa0], eax
xor ebx, ebx
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, ebx
jle 0x478f5d
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], ebx
mov ecx, edi
lea ebx, [ebp - 0x248]
call fcn.00507c00
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
xor ebx, ebx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x220], eax
cmp ecx, ebx
je 0x478f5d
lea edx, [edi + 1]
push edx
lea eax, [ebp - 0x218]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 0x224], edi
lea edi, [ebp - 0x228]
mov dword [ebp - 4], ebx
call fcn.00507570
mov ebx, edi
call fcn.005075e0
cmp dword [ebp - 0x224], 0
jle 0x479032
mov ecx, dword [ebp - 0x228]
test ecx, ecx
jne 0x478f8e
mov ecx, 0x54ee24
lea ebx, [esi + 0x434]
lea eax, [esi + 0x428]
push ebx
lea edi, [esi + 0x1d0]
push ecx
mov esi, eax
mov dword [ebp - 0x238], eax
call fcn.00449150
test al, al
je 0x479053
xor edi, edi
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], edi
mov esi, dword [ebp - 0x23c]
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x21c]
add ecx, 0x208
push ecx
lea eax, [ebp - 0x234]
call fcn.005080c0
mov edx, dword [esi + 0x21c]
mov eax, dword [ebx]
cmp eax, dword [edx + 0x410]
jne 0x479012
mov ecx, dword [ebp - 0x238]
lea eax, [ebp - 0x234]
call fcn.00445420
test al, al
je 0x479019
mov byte [ebp - 0x219], 1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x234]
cmp eax, edi
je 0x479053
push eax
call fcn.0051ebab
add esp, 4
jmp 0x479053
push 0x54ee24
lea eax, [esi + 0x428]
mov dword [esi + 0x434], 0x11
call fcn.005080c0
mov byte [ebp - 0x219], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x47906d
push eax
call fcn.0051ebab
add esp, 4
mov al, byte [ebp - 0x219]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret
Function at 0x479090
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
mov eax, dword [esi + 0x98]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, 6
je 0x47916e
test eax, eax
je 0x4790bb
push 0
push eax
call edi
jmp 0x4790cb
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0xa0], ebx
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x4790dc
push 0
push eax
call edi
jmp 0x4790ec
mov edx, dword [esi + 0xc4]
mov eax, dword [edx + 4]
mov dword [eax + esi + 0xc4], ebx
mov eax, dword [esi + 0x190]
test eax, eax
je 0x4790fd
push 5
push eax
call edi
jmp 0x47910d
mov ecx, dword [esi + 0x198]
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x198], ebx
mov eax, dword [esi + 0x1b4]
test eax, eax
je 0x47911e
push 5
push eax
call edi
jmp 0x47912e
mov eax, dword [esi + 0x1bc]
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0x1bc], ebx
cmp byte [esi + 0x218], 0
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
je 0x479155
mov eax, dword [esi + 0x50]
test eax, eax
je 0x47914b
push 0
push eax
call edi
jmp 0x479155
mov edx, dword [esi + 0x58]
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x58], ebx
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x479228
push 0
push eax
call edi
pop edi
pop ebx
pop ebp
ret 4
test eax, eax
je 0x479179
push 5
push eax
call edi
jmp 0x479189
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0xa0], ebx
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x47919a
push 5
push eax
call edi
jmp 0x4791aa
mov edx, dword [esi + 0xc4]
mov eax, dword [edx + 4]
mov dword [eax + esi + 0xc4], ebx
mov eax, dword [esi + 0x190]
test eax, eax
je 0x4791bb
push 0
push eax
call edi
jmp 0x4791cb
mov ecx, dword [esi + 0x198]
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x198], ebx
mov eax, dword [esi + 0x1b4]
test eax, eax
je 0x4791dc
push 0
push eax
call edi
jmp 0x4791ec
mov eax, dword [esi + 0x1bc]
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0x1bc], ebx
cmp byte [esi + 0x218], 0
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
je 0x479213
mov eax, dword [esi + 0x50]
test eax, eax
je 0x479209
push 1
push eax
call edi
jmp 0x479213
mov edx, dword [esi + 0x58]
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x58], ebx
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x479228
push 1
push eax
call edi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, dword [esi + 0x100]
mov edx, dword [ecx + 4]
pop edi
mov dword [edx + esi + 0x100], ebx
pop ebx
pop ebp
ret 4
Function at 0x4799b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x575494]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x479afa
xor ecx, ecx
push ecx
mov word [ebp - 0x20c], cx
mov edx, dword [eax + 0x208]
push edx
lea eax, [ebp - 0x20c]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x20c], 0
je 0x479a13
push 0x54ede0
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.0052010e
add esp, 0xc
mov edx, dword [esi + 0xe8]
push edi
push edx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0052010e
mov eax, dword [esi + 0x38]
add esp, 0xc
test eax, eax
je 0x479a5c
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x479a6a
mov edx, dword [esi + 0x34]
push ebx
mov ebx, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + esi + 0x34], eax
pop ebx
jmp 0x479a6a
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x34], 0x57
mov edx, dword [esi + 0xe8]
cmp byte [edx + 0x20c], 0
mov eax, dword [esi + 0x98]
pop edi
je 0x479ac4
test eax, eax
je 0x479aa2
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x94]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x94], 6
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x479ae6
push 0
push 0
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x94]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x94], 6
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret
Function at 0x479fb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5356a6
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x575494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
mov word [ebp - 0x218], ax
mov eax, dword [esi + 0x38]
xor ebx, ebx
mov dword [ebp - 0x23c], esi
mov byte [ebp - 0x219], 0
cmp eax, ebx
je 0x47a028
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, ebx
jg 0x47a028
mov edx, dword [esi + 0x34]
mov ebx, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + esi + 0x34], eax
xor ebx, ebx
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, ebx
jle 0x47a0a4
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], ebx
mov ecx, edi
lea ebx, [ebp - 0x248]
call fcn.00507c00
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
xor ebx, ebx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x220], eax
cmp ecx, ebx
je 0x47a0a4
lea edx, [edi + 1]
push edx
lea eax, [ebp - 0x218]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 0x224], edi
lea edi, [ebp - 0x228]
mov dword [ebp - 4], ebx
call fcn.00507570
mov ebx, edi
call fcn.005075e0
cmp dword [ebp - 0x224], 0
jle 0x47a173
mov ecx, dword [ebp - 0x228]
test ecx, ecx
jne 0x47a0d5
mov ecx, 0x54ee24
lea ebx, [esi + 0xf8]
lea eax, [esi + 0xec]
push ebx
lea edi, [esi + 0xd0]
push ecx
mov esi, eax
mov dword [ebp - 0x238], eax
call fcn.00449150
test al, al
je 0x47a194
xor edi, edi
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], edi
mov esi, dword [ebp - 0x23c]
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0xe8]
push ecx
lea eax, [ebp - 0x234]
call fcn.005080c0
mov edx, dword [esi + 0xe8]
mov eax, dword [ebx]
cmp eax, dword [edx + 0x208]
jne 0x47a153
mov ecx, dword [ebp - 0x238]
lea eax, [ebp - 0x234]
call fcn.00445420
test al, al
je 0x47a15a
mov byte [ebp - 0x219], 1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x234]
cmp eax, edi
je 0x47a194
push eax
call fcn.0051ebab
add esp, 4
jmp 0x47a194
push 0x54ee24
lea eax, [esi + 0xec]
mov dword [esi + 0xf8], 0x11
call fcn.005080c0
mov byte [ebp - 0x219], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x47a1ae
push eax
call fcn.0051ebab
add esp, 4
mov al, byte [ebp - 0x219]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret
Function at 0x47b490
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0xe4]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x47b4b3
test bl, bl
je 0x47b4ac
push 5
push eax
call edi
jmp 0x47b4c7
push 0
push eax
call edi
jmp 0x47b4c7
mov eax, dword [esi + 0xec]
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0xec], 6
mov eax, dword [esi + 0x108]
test eax, eax
je 0x47b4e3
test bl, bl
je 0x47b4dc
push 5
push eax
call edi
jmp 0x47b4f7
push 0
push eax
call edi
jmp 0x47b4f7
mov edx, dword [esi + 0x110]
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x110], 6
mov eax, dword [esi + 0x12c]
test eax, eax
je 0x47b513
test bl, bl
je 0x47b50c
push 5
push eax
call edi
jmp 0x47b527
push 0
push eax
call edi
jmp 0x47b527
mov ecx, dword [esi + 0x134]
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x134], 6
mov eax, dword [esi + 0x174]
test eax, eax
je 0x47b543
test bl, bl
je 0x47b53c
push 5
push eax
call edi
jmp 0x47b557
push 0
push eax
call edi
jmp 0x47b557
mov eax, dword [esi + 0x17c]
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0x17c], 6
mov eax, dword [esi + 0x198]
test eax, eax
je 0x47b573
test bl, bl
je 0x47b56c
push 5
push eax
call edi
jmp 0x47b587
push 0
push eax
call edi
jmp 0x47b587
mov edx, dword [esi + 0x1a0]
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x1a0], 6
mov eax, dword [esi + 0x150]
test eax, eax
je 0x47b5a3
test bl, bl
je 0x47b59c
push 5
push eax
call edi
pop edi
ret
push 0
push eax
call edi
pop edi
ret
mov ecx, dword [esi + 0x158]
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x158], 6
pop edi
ret

Function at 0x47bc90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
xor bl, bl
cmp edi, 2
je 0x47bccf
cmp edi, 0x20
je 0x47bcc5
cmp edi, 0x10000
je 0x47bcc5
cmp edi, 0x40
je 0x47bcc5
cmp edi, 0x20000
je 0x47bcc5
cmp edi, 0x100000
je 0x47bcc5
cmp edi, 0x200000
jne 0x47bcd1
cmp eax, 1
je 0x47bcd1
cmp eax, 2
je 0x47bcd1
mov bl, 1
push esi
mov esi, dword [ebp + 8]
call fcn.0047b490
cmp edi, 4
je 0x47bce4
cmp edi, 8
jne 0x47bcf5
mov ebx, esi
push 1
lea esi, [ebx + 0xb4]
call fcn.004bed40
jmp 0x47bd05
push 0
add esi, 0xb4
call fcn.004bed40
mov ebx, dword [ebp + 8]
pop esi
cmp edi, 0x40
je 0x47bd13
cmp edi, 0x20000
jne 0x47bd3b
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x47bd28
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop ebp
ret 4
mov eax, dword [ebx + 0x60]
mov ecx, dword [eax + 4]
mov dword [ecx + ebx + 0x60], 6
pop ebx
pop ebp
ret 4
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x47bd50
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop ebp
ret 4
mov edx, dword [ebx + 0x60]
mov eax, dword [edx + 4]
mov dword [eax + ebx + 0x60], 6
pop ebx
pop ebp
ret 4
Function at 0x47e680
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
add esi, 0x248
mov dword [ebp - 0x10], esi
test ebx, ebx
je 0x47e6ee
push 0x7d4
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x47e6da
push 0x7d4
push ebx
mov edi, eax
call fcn.004351f0
jmp 0x47e6fe
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea esi, [ecx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x47e6fe
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea eax, [eax + esi + 0x10]
mov dword [eax], 0x57
mov esi, dword [ebp + 8]
mov edx, 0x9ca
add esi, 0x2ac
push ebx
lea ecx, [edx - 1]
mov edi, 2
call fcn.004bea60
push 0x9c9
mov ebx, esi
call fcn.004bec60
push 0x9ca
call fcn.004bec60
call fcn.004c7ae0
test al, al
je 0x47e8a4
mov al, byte [ebp + 0x10]
test al, al
je 0x47e759
cmp byte [0x57774c], 0
je 0x47e8a4
cmp al, 1
jne 0x47e8a4
push 0x84d3
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x47e77f
mov ecx, 0x54ee24
mov eax, dword [ebp - 0x10]
call fcn.00405d30
mov edx, dword [0x577698]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push 1
push 0x138d
add edi, 0x26c
push edx
mov ebx, 3
mov edx, edi
call fcn.004ae7b0
mov ebx, 0xc35e
mov eax, edi
call fcn.004ae970
mov ebx, 0xc35f
mov eax, edi
call fcn.004ae970
mov ebx, 0xc360
mov eax, edi
call fcn.004ae970
push 0x88c2
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x47e804
push eax
call fcn.0051ebab
add esp, 4
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x47e810
mov ecx, 0x54ee24
mov eax, 0x9c9
mov ebx, esi
call fcn.004bee00
push 0x88c3
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00508010
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x47e859
push eax
call fcn.0051ebab
add esp, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
jne 0x47e865
mov ecx, 0x54ee24
mov eax, 0x9ca
mov ebx, esi
call fcn.004bee00
mov edi, dword [ebp + 8]
call fcn.004824c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47e8ce
push eax
call fcn.0051ebab
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 8]
test eax, eax
je 0x47e8b9
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x47e8c7
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 4]
mov dword [eax + ecx + 0x10], 6
push 0
call fcn.004bed40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47e8f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532fb8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea esi, [ebx + 0x2d4]
test edi, edi
je 0x47e95b
push 0x7d5
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x47e947
push 0x7d5
push edi
mov edi, eax
call fcn.004351f0
jmp 0x47e96b
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea edi, [ecx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
jmp 0x47e96b
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea eax, [eax + esi + 0x10]
mov dword [eax], 0x57
call fcn.004c7960
test al, al
je 0x47ea37
push 0x84d4
lea ecx, [ebp - 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x47e99e
mov ecx, 0x54ee24
mov eax, esi
call fcn.00405d30
mov eax, dword [0x577698]
mov ecx, dword [ebp + 0xc]
push 1
lea esi, [ebx + 0x2f8]
push 0x138e
push eax
mov ebx, 1
mov edx, esi
call fcn.004ae7b0
test al, al
je 0x47e9e2
mov ebx, 0xc361
mov eax, esi
call fcn.004ae970
test al, al
je 0x47e9e2
mov edx, esi
call fcn.004ae9e0
mov eax, dword [esi + 8]
test eax, eax
je 0x47e9f4
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x47ea04
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea eax, [eax + esi + 0x10]
mov dword [eax], 6
mov eax, dword [ebp + 8]
call fcn.004825b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47ea69
push eax
call fcn.0051ebab
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 8]
test eax, eax
je 0x47ea5b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x10], 6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47ea80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, eax
lea esi, [ebx + 0x3ec]
test edi, edi
je 0x47eac7
push 0x7ed
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x47eab3
push 0x7ed
push edi
mov edi, eax
call fcn.004351f0
jmp 0x47ead5
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea edi, [ecx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
jmp 0x47ead5
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x10], 0x57
call fcn.004c79e0
test al, al
je 0x47eb29
cmp byte [ebp + 8], 0
je 0x47eb29
push 0x84ed
lea ecx, [ebp - 0xc]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jne 0x47eb03
mov ecx, 0x54ee24
mov eax, esi
call fcn.00405d30
mov eax, ebx
call fcn.00482610
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x47eb4f
push eax
call fcn.0051ebab
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 8]
test eax, eax
je 0x47eb41
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x10], 6
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x47ed20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, eax
lea esi, [ebx + 0x380]
test edi, edi
je 0x47ed67
push 0x7e1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x47ed53
push 0x7e1
push edi
mov edi, eax
call fcn.004351f0
jmp 0x47ed75
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea edi, [ecx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
jmp 0x47ed75
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x10], 0x57
cmp byte [0x57774c], 0
je 0x47edca
call fcn.004c7d60
test al, al
je 0x47edca
push 0x84df
lea ecx, [ebp - 0xc]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jne 0x47eda6
mov ecx, 0x54ee24
mov eax, esi
call fcn.00405d30
mov eax, ebx
call fcn.00482730
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x47edee
push eax
call fcn.0051ebab
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
test eax, eax
je 0x47ede0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x10], 6
pop edi
pop esi
mov esp, ebp
pop ebp
ret