joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47ae51
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ecx + 0x58]
cmp ecx, dword [ebp + 8]
je 0x47aea0
push 0
mov ecx, 0x4b69b0
call fcn.004746ad
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 0x58], eax
push 0
push 0
push 0x1009
mov ecx, dword [ebp - 4]
push dword [ecx + 0x10]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 4]
call fcn.00479d12
push 0
push dword [0x4b7508]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 4

Function at 0x47c0e9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b5fdc]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47c10b
push 0
mov ecx, dword [0x4b5fdc]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x4b5fd8]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47c134
push 0
push 0x9cbd
push 0x111
mov eax, dword [0x4b5fd8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.0058523e
nop
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47c154
push 0
mov edx, dword [0x4b7508]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret

Function at 0x47c2aa
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 4
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x47c2e3
push 1
call fcn.0042b5e1
nop
nop
nop
jmp 0x47c2f9
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0047c2ff
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov esp, ebp
pop ebp
ret 8

Function at 0x47c39a
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x47c3c8
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
jne 0x47c3c8
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 1
mov esp, ebp
pop ebp
ret

Function at 0x47c434
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x47c464
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0
mov esp, ebp
pop ebp
ret
Function at 0x481670
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x4bcc94]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x48168f
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x4bcc90], 1
mov byte [0x4bcc8c], bl
jne 0x4816e9
mov ecx, dword [0x4bd890]
test ecx, ecx
je 0x4816d7
mov esi, dword [0x4bd88c]
sub esi, 4
cmp esi, ecx
jb 0x4816d7
mov eax, dword [esi]
test eax, eax
je 0x4816d0
call eax
mov ecx, dword [0x4bd890]
sub esi, 4
cmp esi, ecx
jae 0x4816c2
push 0x48b134
push 0x48b130
call fcn.00481720
add esp, 8
push 0x48b140
push 0x48b138
call fcn.00481720
add esp, 8
test ebx, ebx
jne 0x481710
push ebp
mov dword [0x4bcc94], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret

Function at 0x48199f
Capabilities:
Terminate process

Disassembly:
cmp dword [0x4bcca0], 1
jne 0x4819ad
call fcn.00483c03
mov eax, dword [esp + 4]
push eax
call fcn.00483c40
add esp, 4
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x483370
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x4bcde0]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x4833b2
call edi
mov esi, eax
test esi, esi
je 0x48339c
mov eax, 1
jmp 0x4833ad
call ebp
mov ebx, eax
test ebx, ebx
je 0x4834bf
mov eax, 2
mov dword [0x4bcde0], eax
cmp eax, 1
jne 0x483452
test esi, esi
jne 0x4833cb
call edi
mov esi, eax
test esi, esi
je 0x4834bf
cmp word [esi], 0
mov eax, esi
je 0x4833e5
add eax, 2
cmp word [eax], 0
jne 0x4833d3
add eax, 2
cmp word [eax], 0
jne 0x4833d3
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x483444
push edi
call fcn.00482890
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x483444
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x483436
push ebx
call fcn.00482940
add esp, 4
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x4834bf
test ebx, ebx
jne 0x483463
call ebp
mov ebx, eax
test ebx, ebx
je 0x4834bf
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x48347b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x48346b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x48346b
sub eax, ebx
inc eax
mov esi, eax
push esi
call fcn.00482890
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x48349d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x483c40
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x48f4d8
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x483c64
add eax, 8
inc ebp
cmp eax, 0x48f568
jb 0x483c55
cmp ecx, dword [ebp*8 + 0x48f4d8]
jne 0x483e0b
mov eax, dword [0x4bcca0]
cmp eax, 1
je 0x483dcd
test eax, eax
jne 0x483c90
cmp dword [0x48f324], 1
je 0x483dcd
cmp ecx, 0xfc
je 0x483e0b
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x483ccb
mov ecx, 5
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x483d14
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x487b04
add ebx, ecx
push ebx
call fcn.00484b60
add esp, 0xc
mov ecx, 6
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x487ae4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Microsoft_Visual_C_Runtime_Library
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x48f4dc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00484ad0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x4bd780]
test eax, eax
je 0x483dde
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x483de8
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x48f4dc]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x4cf967
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xc0
mov edx, esp
push ecx
push 0
push 0x20
push edx
call fcn.0047fd13
add esp, 0xc
jmp 0x4cf971
push ebp
mov ebp, esp
jmp 0x4cecef
push 0
push dword [0x4b7508]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x4cf9a8], esp
push 0
push 0x4cf9b0
push dword [0x4b6a68]
push 0x156
push dword [0x4b6a60]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
leave
ret

Function at 0x53af42
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [edx + 8]
and eax, 3
pushal
push dword [edx]
call fcn.004061e4
mov eax, dword [0x505f1c]
jmp 0x540875
movzx eax, byte [ecx + 0x2a]
test eax, eax
jne 0x53b0c4
movzx eax, byte [ecx + 0x2c]
push eax
push ecx
push 0
jmp 0x53af79
inc dword [esp]
cmp dword [esp], 2
je 0x53b0c1
mov eax, dword [esp]
imul eax, eax, 3
mov ecx, dword [esp + 4]
cmp byte [eax + ecx + 0x2e], 0xff
je 0x53af76
movzx ecx, byte [eax + ecx + 0x2e]
imul ecx, ecx, 0x19
add ecx, 0x4a1140
movzx eax, byte [ecx + 0x11]
and eax, 1
test eax, eax
je 0x53b020
mov eax, dword [esp]
imul eax, eax, 3
mov ecx, dword [esp + 4]
lea ecx, [eax + ecx + 0x2f]
movzx eax, byte [0x407ed1]
cmp al, byte [ecx]
jb 0x53af76
movzx edx, byte [0x407f00]
cmp dl, byte [esp + 8]
ja 0x53afe5
mov ah, 0xff
mov edx, dword [ebp - 0x2c]
imul edx, edx, 3
mov ecx, dword [ebp - 0x28]
mov word [ecx + edx + 0x2f], ax
jmp 0x53af76
push eax
mov eax, dword [ebp - 0x24]
cdq
movzx ecx, byte [0x4cfb89]
div ecx
inc eax
cmp al, byte [esp]
jb 0x53affc
pop eax
jmp 0x53afd3
mov dword [esp], eax
mov eax, dword [esp + 4]
imul eax, eax, 3
mov ecx, dword [ebp - 0x28]
movzx edx, byte [eax + ecx + 0x2f]
cmp dl, byte [ebp - 0x30]
jae 0x53b01b
pop edx
mov word [eax + ecx + 0x2f], dx
jmp 0x53afe3
add esp, 4
jmp 0x53afe3
mov eax, dword [ebp - 0x2c]
imul eax, eax, 3
mov ecx, dword [ebp - 0x28]
movzx edx, byte [eax + ecx + 0x2e]
mov eax, 0x30
imul eax, dword [ebp - 0x2c]
sub edx, eax
mov eax, edx
cdq
mov ecx, 3
div ecx
push edx
mov eax, dword [ebp - 0x2c]
imul eax, eax, 3
mov ecx, dword [ebp - 0x28]
lea ecx, [eax + ecx + 0x2f]
movzx eax, byte [0x407f06]
cmp al, byte [ecx]
jb 0x53b078
movzx edx, byte [0x407f00]
cmp dl, byte [ebp - 0x24]
ja 0x53b07d
mov ah, 0xff
mov edx, dword [ebp - 0x2c]
imul edx, edx, 3
mov ecx, dword [ebp - 0x28]
mov word [ecx + edx + 0x2f], ax
add esp, 4
jmp 0x53b01e
movzx edx, byte [0x408ab3]
imul edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
cmp eax, edx
jb 0x53b078
add dl, byte [0x408ab3]
cmp eax, edx
jb 0x53b0a2
movzx eax, byte [0x407f06]
jmp 0x53b068
mov eax, dword [ebp - 0x24]
call fcn.0053b107
sub eax, edx
cdq
div ecx
inc eax
movzx edx, byte [0x407f06]
cmp al, dl
jb 0x53b0bf
mov al, dl
mov ah, 0xff
jmp 0x53b06a
add esp, 0xc
popal
leave
ret
test eax, eax
je 0x53b0c4
cmp al, 1
je 0x540886
call fcn.0054088b
jmp 0x53af60
Function at 0x53b2aa
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0x3e9
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0x53b326
push dword [0x4b6a68]
push 0x152
push dword [0x4b6a60]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [0x500e45], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4

Function at 0x53b614
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push dword [0x505f64]
sub esp, 0x14
push 2
push 0x30
push dword [ebp - 4]
lea ecx, [ebp - 0x18]
push ecx
call fcn.00418052
lea ecx, [ebp - 0x18]
push ecx
push str.RSS__s.EEX
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004190bb
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push eax
push dword [0x57ea78]
lea ecx, [ebp - 0x18]
call fcn.00419102
lea ecx, [ebp - 0x18]
call fcn.004192c5
mov eax, dword [0x505e8c]
test eax, eax
je 0x53b682
add al, 0x30
mov byte [0x53b6ac], al
push 0x53b6a0
push dword [0x57ea78]
call fcn.0053b6b0
push eax
push ecx
call fcn.0053b6eb
leave
ret

Function at 0x53c070
Capabilities:
Hide graphical window

Disassembly:
and edx, dword [0x505eb8]
push edx
push 0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [ecx + eax*4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edx
ret
Function at 0x53fded
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
sub esp, 0x10
jmp 0x53fdfa
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp al, 2
je 0x53fe18
add eax, 0x806
push eax
push dword [ebp + 0xc]
call fcn.0053fce8
mov edx, dword [ebp - 4]
mov dword [ebp + edx*4 - 0x14], eax
jmp 0x53fdf7
cdq
mov dword [ebp - 4], edx
jmp 0x53fe21
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp al, 2
je 0x53fe81
add eax, 0x808
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
sub esp, 0x10
mov ecx, esp
push 4
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, esp
xor eax, eax
cmp byte [ecx], 0
je 0x53fe75
movzx edx, byte [ecx]
inc ecx
imul eax, eax, 0xa
cmp dl, 0x30
jb 0x53fe60
cmp dl, 0x39
jbe 0x53fe6e
push 0x53ffe0
push 0
call fcn.0042f699
jmp 0x53fea9
sub dl, 0x30
add eax, edx
jmp 0x53fe4a
add esp, 0x10
mov edx, dword [ebp - 4]
mov dword [ebp + edx*4 - 0xc], eax
jmp 0x53fe1e
mov eax, dword [ebp - 0xc]
movzx ecx, byte [0x4b422c]
cmp eax, ecx
jae 0x53fe9d
mov eax, dword [ebp - 8]
movzx ecx, byte [0x4b422d]
cmp eax, ecx
jb 0x53feae
push 0x53fff0
push 0
call fcn.0042f699
jmp 0x53ff3b
mov ecx, dword [0x500e28]
call fcn.00482715
push eax
call fcn.0043e4d6
add esp, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x14]
cmp al, 0
jne 0x53fed6
mov byte [ecx + 0xe], 7
mov byte [ecx + 5], 0
jmp 0x53fef6
cmp al, 1
jne 0x53fee0
mov byte [ecx + 0xe], 3
jmp 0x53fee8
cmp al, 2
jne 0x53feea
mov byte [ecx + 0xe], 1
jmp 0x53fef2
cmp al, 3
jne 0x53ff02
mov byte [ecx + 0xe], 2
mov byte [ecx + 5], 1
mov byte [ecx + 8], 0xff
mov word [ecx + 9], 0
jmp 0x53ff26
cmp al, 6
jne 0x53ff0c
mov byte [ecx + 0xe], 0
jmp 0x53ff14
cmp al, 8
jne 0x53ff28
mov byte [ecx + 0xe], 4
mov al, byte [ebp - 0xc]
mov ah, byte [ebp - 8]
mov byte [ecx + 8], 0xff
mov word [ecx + 9], ax
mov byte [ecx + 5], 1
jmp 0x53ff36
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.0053ff42
xor ecx, ecx
inc ecx
jmp 0x53ff3d
xor ecx, ecx
mov eax, dword [ebp + 8]
leave
ret

Function at 0x5419bd
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0x4b5fd0
push dword [0x4b6a68]
push 0
jmp 0x5419d2
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, 2
je 0x5419fa
imul eax, eax, 0xf
mov ecx, dword [ebp - 4]
lea ecx, [ecx + eax*4]
push dword [ebp - 8]
push dword [ecx]
push 0
push dword [ecx]
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_SetParent]
jmp 0x5419cf
leave
ret 4

Function at 0x54233e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0x40e
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.0041b8af
add esp, 4
xor eax, 1
test eax, eax
je 0x5423a2
push 0
push 0
jmp 0x542368
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp al, 2
je 0x5423a1
push 0
push 0
push 0x147
add eax, 0x5d2
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 4]
mov dl, 0xd
test ecx, ecx
je 0x542399
mov dl, 8
add al, dl
mov byte [ecx + ebp - 8], al
jmp 0x542365
pop eax
mov word [0x47d89e], ax
leave
ret 4
Function at 0x584eeb
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [0x584d5e]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 0x48bae0
ret

Function at 0x58523e
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [0x584d5e]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4b7508]
ret

Function at 0x585292
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5852ad
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
leave
ret 4

Function at 0x587190
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
mov ecx, esp
push 2
push 0x587180
call fcn.00418f5c
test eax, eax
jne 0x5871c1
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EndDialog]
mov dword [0x587138], 0x80
jmp 0x587272
mov ecx, esp
call fcn.004193a5
mov ecx, esp
push eax
mov edx, dword [0x57ea78]
push edx
push eax
push edx
push 0
call fcn.00419184
lea ecx, [ebp - 4]
call fcn.004192c5
push 0xa
push dword [ebp + 8]
call fcn.0053f804
push 0x3e8
push 0
jmp 0x5871f9
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x587247
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.00587276
test eax, eax
je 0x5871f6
add ecx, 7
xor eax, eax
jmp 0x587219
inc eax
cmp word [eax + ecx], 0xa0d
jne 0x587218
push eax
mov edx, dword [0x580f08]
push edx
push eax
push edx
push ecx
call fcn.0047fcfd
add esp, 0xc
pop ecx
pop eax
mov byte [eax + ecx], 0
push ecx
push 0xa
push dword [ebp + 8]
call fcn.0053f7e0
jmp 0x5871f6
push 0
push 0xa
push dword [ebp + 8]
call fcn.0053f827
push 0
push 0xb
push dword [ebp + 8]
call fcn.005872ea
push dword [ebp + 8]
call fcn.00587366
push 5
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
leave
ret 4

Function at 0x587390
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 2
jne 0x5873b6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x5873e9
cmp eax, 0xa
jne 0x5873dc
push eax
push dword [ebp + 8]
call fcn.0053fce8
mov ecx, 0x587178
cmp eax, dword [ecx]
je 0x5873da
mov dword [ecx], eax
push eax
push 0xb
push dword [ebp + 8]
call fcn.005872ea
jmp 0x5873e9
cmp eax, 0xc
jne 0x5873e9
push dword [ebp + 8]
call fcn.005873ed
leave
ret 4
Function at 0x58a3e5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x58a340
call fcn.0058a2ad
lea ecx, [ecx + eax*4]
push ecx
push 0
mov eax, dword [ecx]
test eax, eax
jne 0x58a419
push dword [ebp + 0x20]
call fcn.00418ed4
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x58a457
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ebp - 4], eax
push dword [ebp + 0x1c]
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
add eax, dword [ebp + 0x14]
add eax, dword [ebp + 0x18]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x58a457
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
push dword [ebp + 8]
call fcn.0058a45c
push ecx
push eax
call fcn.0058a51b
inc dword [ebp - 8]
pop eax
leave
ret 0x1c

Function at 0x58be57
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0x4b6c78
push 0x58bc60
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x58be8f
push 5
push dword [ecx + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
call fcn.004658c0
mov ecx, dword [ebp - 4]
push 0
push dword [ecx + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x58beba
push 5
push dword [ecx + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 8]
call fcn.004658c0
mov ecx, dword [ebp - 8]
push 0
push dword [ecx + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
push 0x33
push dword [ecx + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.0041b8af
add esp, 4
test eax, eax
jne 0x58bef3
mov ecx, dword [ebp - 4]
push 0x32
push dword [ecx + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
call fcn.0041b8cf
add esp, 8
mov ecx, dword [ebp - 4]
jmp 0x58bef6
mov ecx, dword [ebp - 8]
push 5
push dword [ecx + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x58ce14
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push dword [0x505f58]
call fcn.004061e4
mov dword [0x500e28], ecx
mov edx, 0x58ce10
mov dword [edx], ecx
mov ecx, 0x58bc5b
movzx eax, byte [ecx]
push ecx
push eax
mov byte [ecx], 0x10
push 1
push 0x32
push dword [0x4b6bb0]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.0041b8cf
add esp, 8
push 0
push 0x33
push dword [0x4b6bb0]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.0041b8cf
add esp, 8
mov ecx, 0x58bc60
push 0
push dword [ecx + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x4b6c78
push 5
push dword [ecx + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0058b024
pop eax
pop ecx
mov byte [ecx], al
and al, 1
push 0
push eax
jmp 0x58cea1
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp al, 2
je 0x58ceef
xor ecx, ecx
cmp eax, dword [ebp - 8]
sete cl
push ecx
add al, 0x32
push eax
push dword [0x4b6bb0]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.0041b8cf
add esp, 8
mov eax, dword [ebp - 4]
xor edx, edx
cmp eax, dword [ebp - 8]
jne 0x58ced5
mov dl, 5
push edx
mov ecx, 0x4b6c78
test eax, eax
je 0x58cee4
mov ecx, 0x58bc60
push dword [ecx + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x58ce9e
xor eax, eax
mov ecx, 0x58ce10
mov dword [ecx], eax
dec eax
mov dword [0x500e28], eax
leave
ret

Function at 0x58cfa1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
jmp 0x58cfad
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp al, 3
je 0x58cfd1
add eax, 0x50
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.0041b8af
add esp, 4
test eax, eax
je 0x58cfaa
inc dword [ebp - 8]
pop eax
test eax, eax
jne 0x58d017
push dword [ebp + 8]
push dword [0x4b6bb0]
push 0x4d2
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.0058d166
push 0
push dword [0x4b6bb0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0x50
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.0041b8cf
add esp, 8
leave
ret 4