joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4689f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x468a23
push esi
call fcn.00476db0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x468a1c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x468aa9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x468a92
mov eax, dword [esi + 8]
test eax, eax
je 0x468a47
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x468a8e
cmp eax, 2
je 0x468a92
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x468a3a
cmp eax, 3
je 0x468a6d
cmp eax, 1
jne 0x468a3a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x468a3a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x468a3a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00468ad0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x468ab8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00468ad0
add esp, 4
pop esi
ret

Function at 0x469340
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x469361
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x469361
mov eax, dword [eax + 0x44]
test eax, eax
je 0x469361
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x49cf25
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x49cf5d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049afb2
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049af8a
jmp 0x49cf69
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49e617
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x49e659
call fcn.004a40d4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49e659
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49e650
xor eax, eax
jmp 0x49e661
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049e667
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a4604
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a4632
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a4650
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a456a
jmp 0x4a4650
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a4650
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a456a
test edi, edi
mov eax, edi
jne 0x4a463a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4f31c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa6000]
push edi
or ebp, 0xffffffff
jmp 0x4f31e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f31e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f31d8
mov eax, 1
add ebx, ebx
jne 0x4f31fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f320c
jne 0x4f322b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f322b
dec eax
add ebx, ebx
jne 0x4f3218
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f31f0
add ebx, ebx
jne 0x4f3227
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f327d
xor ecx, ecx
sub eax, 3
jb 0x4f3243
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f32b2
sar eax, 1
mov ebp, eax
jmp 0x4f324e
add ebx, ebx
jne 0x4f324e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f321c
inc ecx
add ebx, ebx
jne 0x4f325c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f321c
add ebx, ebx
jne 0x4f3269
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f325e
jne 0x4f327a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f325e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f329c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f328e
jmp 0x4f31de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f329c
add edi, ecx
jmp 0x4f31de
pop esi
mov edi, esi
mov ecx, 0x57dc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f32ba
cmp byte [edi], 0x16
jne 0x4f32ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4f32bf
lea edi, [esi + 0xf1000]
mov eax, dword [edi]
or eax, eax
je 0x4f3337
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf8d3c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf8e18]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f32ec
mov ecx, edi
jns 0x4f331b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf8e20]
or eax, eax
je 0x4f3331
mov dword [ebx], eax
add ebx, 4
jmp 0x4f3309
call dword [esi + 0xf8e1c]
mov ebp, dword [esi + 0xf8e24]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4f336b
sub esp, 0xffffff80
jmp 0x4a1a83
Function at 0x4011b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4011ff
push esi
call fcn.0042fbe0
add esp, 4
test eax, eax
je 0x4011e3
push esi
call fcn.00442030
add esp, 4
test eax, eax
je 0x4011ea
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 8
pop esi
ret
push esi
call fcn.004010b0
add esp, 4
cmp eax, 7
jne 0x40123f
mov eax, 6
pop esi
ret
test al, 0x10
je 0x401207
xor eax, eax
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 4
jl 0x401236
cmp word [esi + eax*2 - 8], 0x2e
jne 0x401236
push 0x48b584
lea eax, [esi + eax*2 - 6]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401236
mov eax, 3
pop esi
ret
push esi
call fcn.004010b0
add esp, 4
pop esi
ret

Function at 0x401250
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 0x10]
cmp byte [esi + 0x70], 0
je 0x401264
mov eax, 1
pop esi
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
sub eax, dword [esi + 0x88]
cmp eax, 0x1f4
jbe 0x401300
cmp byte [esi + 0x8c], 0
mov dword [esi + 0x88], edi
je 0x4012d7
mov ecx, edi
sub ecx, dword [esi + 0x84]
cmp ecx, 0x3e8
jbe 0x4012c8
cmp byte [esi + 0x24], 0
je 0x4012c1
cmp dword [esi + 0x6c], 0xf
je 0x4012c1
mov edx, dword [esi + 0x20]
push 0
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x7c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x8c], 0
cmp byte [esi + 0x8c], 0
je 0x4012d7
cmp dword [esi + 0x6c], 0xf
jne 0x401300
mov eax, dword [esp + 0xc]
imul eax, eax, 0x64
cdq
idiv dword [esp + 0x10]
sub edi, dword [esi + 0x84]
mov ecx, dword [esi + 0x7c]
push esi
push edi
push 0x1801
push ecx
mov dword [esi + 0x80], eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
xor eax, eax
pop esi
ret 0xc

Function at 0x402820
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x487308
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x49e7c0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.00402360
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x402880
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.004020e0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], di
call fcn.00402360
cmp dword [esp + 0x28], 8
jb 0x4028cb
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004775de
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x4089d0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
cmp eax, edx
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 8]
push edi
lea edi, [esi + 0x40]
mov dword [esi + 0x1044], edi
mov dword [esi + 0x1040], edi
jl 0x408a05
jg 0x4089fb
cmp ecx, ebx
jb 0x408a05
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
add ecx, 0x1000
adc eax, 0
cmp eax, edx
jl 0x408a1f
jg 0x408a18
cmp ecx, ebx
jbe 0x408a1f
mov eax, ebx
sub eax, dword [esi + 0x10]
jmp 0x408a24
mov eax, 0x1000
mov edx, dword [esi + 0x3c]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
push edi
push edx
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x408a49
pop edi
pop esi
mov eax, 0xfffffffa
pop ebx
pop ecx
ret
mov eax, dword [esp + 0xc]
lea ecx, [eax + esi + 0x40]
pop edi
mov dword [esi + 0x1044], ecx
pop esi
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x4089d2
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
cmp eax, edx
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 8]
push edi
lea edi, [esi + 0x40]
mov dword [esi + 0x1044], edi
mov dword [esi + 0x1040], edi
jl 0x408a05
jg 0x4089fb
cmp ecx, ebx
jb 0x408a05
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
add ecx, 0x1000
adc eax, 0
cmp eax, edx
jl 0x408a1f
jg 0x408a18
cmp ecx, ebx
jbe 0x408a1f
mov eax, ebx
sub eax, dword [esi + 0x10]
jmp 0x408a24
mov eax, 0x1000
mov edx, dword [esi + 0x3c]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
push edi
push edx
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x408a49
pop edi
pop esi
mov eax, 0xfffffffa
pop ebx
pop ecx
ret
mov eax, dword [esp + 0xc]
lea ecx, [eax + esi + 0x40]
pop edi
mov dword [esi + 0x1044], ecx
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x408b3a
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, ecx
push edi
mov dword [ebp], 0
mov eax, dword [esi + 0x1040]
mov edi, dword [esi + 0x1044]
sub edi, eax
cmp ebx, edi
ja 0x408b7f
push ebx
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.00477f00
add dword [esi + 0x1040], ebx
add esp, 0xc
add dword [esi + 0x10], ebx
pop edi
adc dword [esi + 0x14], 0
pop esi
mov dword [ebp], ebx
pop ebp
xor eax, eax
pop ebx
ret 0xc
test edi, edi
jbe 0x408bab
mov ecx, dword [esp + 0x14]
push edi
push eax
push ecx
call fcn.00477f00
mov edx, dword [esi + 0x1044]
add esp, 0xc
add dword [esi + 0x10], edi
mov dword [esi + 0x1040], edx
adc dword [esi + 0x14], 0
sub ebx, edi
add dword [esp + 0x14], edi
cmp ebx, 0x1000
jae 0x408bd8
mov ecx, esi
call fcn.004089d0
test eax, eax
jne 0x408c28
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push ebp
push ebx
push ecx
mov ecx, esi
call edx
add dword [ebp], edi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0xc]
jl 0x408bf6
jg 0x408bea
mov ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 8]
jb 0x408bf6
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x3c]
push 0
push ebp
push ebx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x408c19
pop edi
pop esi
pop ebp
mov eax, 0xfffffffa
pop ebx
ret 0xc
mov ecx, dword [ebp]
add dword [esi + 0x10], ecx
adc dword [esi + 0x14], 0
add dword [ebp], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x408cb0
Capabilities:
Get file size

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push edi
call edx
mov eax, dword [esi + 0x18]
test al, 2
je 0x408d1e
test al, 4
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
jne 0x408cef
cmp dword [esi + 0x38], 8
jb 0x408cd7
mov eax, dword [esi + 0x24]
jmp 0x408cda
lea eax, [esi + 0x24]
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
call edi
mov dword [esi + 0x3c], eax
cmp dword [esi + 0x3c], 0xffffffff
jne 0x408d49
or dword [esi + 0x18], 4
cmp dword [esi + 0x38], 8
jb 0x408d04
mov eax, dword [esi + 0x24]
jmp 0x408d07
lea eax, [esi + 0x24]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call edi
jmp 0x408d46
test al, 1
je 0x408d49
cmp dword [esi + 0x38], 8
jb 0x408d2d
mov eax, dword [esi + 0x24]
jmp 0x408d30
lea eax, [esi + 0x24]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x3c]
cmp eax, 0xffffffff
jne 0x408d59
pop edi
mov eax, 0xfffffffd
pop esi
ret
lea ecx, [esi + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 8], eax
lea eax, [esi + 0x40]
mov dword [esi + 0x1044], eax
mov dword [esi + 0x1040], eax
pop edi
xor eax, eax
pop esi
ret
Function at 0x411df0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x48776e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x49e7c0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], bx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x64], 7
mov dword [esi + 0x60], ebx
mov word [esi + 0x50], bx
mov edx, dword [esp + 0x24]
mov eax, edx
mov byte [esp + 0x1c], 2
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411e53
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00402680
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dl, byte [esp + 0x30]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x28], eax
mov dword [esi + 0x20], ecx
mov byte [esi + 0x24], dl
mov dword [esi + 0x40], 7
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov byte [esi + 0x70], bl
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x14
Function at 0x420280
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x420296
mov dword [esi + 0x2c], 3
or eax, 0xffffffff
pop esi
ret
cmp dword [esi + 0x2c], 1
jne 0x4202b2
mov ecx, dword [esi + 0x48]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
push ecx
mov ecx, dword [esi + 0x30]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esi + 4]
test eax, eax
mov dword [esi + 0x2c], 3
je 0x4202d1
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x10]
call fcn.0041fbc0
xor eax, eax
pop esi
ret

Function at 0x4203b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, 1
cmp dword [edi + 0x2c], ebp
je 0x4203ce
cmp dword [edi + 0x30], 4
jne 0x4203ce
mov edi, dword [edi + 0x10]
cmp dword [edi + 0x2c], ebp
jne 0x4203c0
cmp edi, dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x4203e4
mov eax, dword [edi + 8]
push 5
xor ebp, ebp
push eax
jmp 0x4203ea
mov ecx, dword [edi + 8]
push 0
push ecx
call ebx
mov esi, dword [edi + 0x18]
test esi, esi
je 0x420431
mov eax, 1
cmp dword [esi + 0x28], eax
jne 0x42042a
cmp dword [esi + 0x2c], eax
je 0x42042a
cmp dword [esi + 0x30], 4
jne 0x42042a
cmp esi, dword [esp + 0x14]
jne 0x420422
mov edx, dword [esi + 4]
push 5
push edx
call ebx
mov eax, dword [esi + 8]
push 5
push eax
call ebx
xor ebp, ebp
jmp 0x42042a
mov ecx, dword [esi + 4]
push 0
push ecx
call ebx
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x4203f3
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 1
call eax
mov ecx, dword [edi + 4]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret 4
Function at 0x420a2b
Capabilities:
Hide graphical window

Disassembly:
mov edx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 8]
test ebp, ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x70]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x2c], 0
mov dword [esi + 4], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x30], edx
jne 0x420a4f
pop esi
or eax, 0xffffffff
pop ebp
ret 0x10
test eax, eax
jne 0x420a6a
mov eax, dword [esp + 0x10]
push eax
push esi
mov ecx, ebp
call fcn.004208a0
pop esi
mov eax, 1
pop ebp
ret 0x10
push ebx
push edi
call fcn.0041fab0
mov ecx, dword [esi + 0x74]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_SetParent]
push edx
push eax
call ebx
mov edi, dword [esi + 0x18]
test edi, edi
je 0x420aaf
mov eax, dword [edi + 4]
test eax, eax
je 0x420aa8
cmp dword [edi + 0x2c], 1
je 0x420aa8
mov ecx, dword [esi + 4]
push ecx
push eax
call ebx
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x420a94
mov edx, dword [esi + 4]
push 5
push 0
push 0
push 0x1869f
push 0x1869f
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call ebx
mov ebx, dword [esp + 0x18]
push ebx
push esi
mov ecx, ebp
call fcn.004208a0
mov edi, 1
cmp dword [esi + 0x28], edi
jne 0x420aff
mov ecx, ebp
call fcn.0041fbc0
mov edx, dword [esi + 0x70]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0x1c], 4
jne 0x420b46
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x420b39
lea ecx, [ecx]
cmp dword [ecx + 0x2c], 1
mov edi, dword [ecx + 0x14]
je 0x420b2e
cmp dword [ecx + 0x30], 4
jne 0x420b2e
mov edx, dword [ecx + 0x48]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
push edx
push 4
push ebx
push ebp
call eax
test edi, edi
mov ecx, edi
jne 0x420b10
mov edi, 1
cmp dword [esi + 0x28], edi
jne 0x420b52
push esi
mov ecx, ebp
call fcn.004203b0
cmp dword [esi + 0x28], edi
jne 0x420b52
mov ecx, esi
call fcn.0041fbc0
call fcn.00420a00
cmp dword [esi + 0x28], edi
jne 0x420b6c
cmp dword [esi + 0x24], 3
je 0x420b6c
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
push edi
mov ecx, esi
call eax
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
ret 0x10
Function at 0x4226e4
Capabilities:
Hide graphical window

Disassembly:
mov edx, dword [esp + 8]
push esi
mov esi, ecx
cmp dword [esi + 4], 0
mov ecx, dword [esp + 8]
mov dword [esi + 0x38], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x3c], edx
mov edx, dword [esp + 0x14]
mov eax, 1
mov dword [esi + 0x40], ecx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x44], edx
je 0x422803
call fcn.0041fab0
cmp dword [esi + 0x30], 4
jne 0x42273e
mov ecx, dword [esi + 0x10]
call fcn.00420340
cmp eax, esi
jne 0x42273e
mov eax, dword [esi + 4]
push 0
push 0x271f
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 4]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 0
push ecx
call ebp
mov eax, dword [esi + 0x74]
mov edx, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_SetParent]
push eax
push edx
mov dword [esi + 4], eax
call ebx
mov edi, dword [esi + 0x18]
test edi, edi
je 0x42278b
lea esp, [esp]
mov eax, dword [edi + 4]
test eax, eax
je 0x422784
cmp dword [edi + 0x2c], 1
je 0x422784
mov ecx, dword [esi + 4]
push ecx
push eax
call ebx
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x422770
cmp dword [esi + 0x28], 1
jne 0x4227f9
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x42279d
call fcn.0041fbc0
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x44]
mov ecx, dword [esi + 0x38]
push 4
sub edx, eax
push edx
mov edx, dword [esi + 0x40]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 4]
push 5
push ecx
call ebp
mov ecx, esi
call fcn.0041fbc0
cmp dword [esi + 0x64], 8
jb 0x4227d9
mov eax, dword [esi + 0x50]
jmp 0x4227dc
lea eax, [esi + 0x50]
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, esi
call fcn.00420340
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x28]
push 1
call eax
call fcn.00420a00
pop edi
pop ebp
xor eax, eax
pop ebx
pop esi
ret 0x10