joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4429a8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4feb5a
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x5475b0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
cmp dword [ebx + 0x88], 0
mov esi, dword [ebx + 0x78]
mov edi, dword [ebx + 0x74]
jne 0x442a09
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
test eax, eax
je 0x442a01
push ecx
push esi
push edi
mov ecx, eax
call fcn.00415755
jmp 0x442a03
xor eax, eax
mov dword [ebx + 0x88], eax
push dword [ebx + 0x88]
lea ecx, [esp + 0x24]
call fcn.004156fb
and dword [esp + 0x50], 0
lea ecx, [esp + 0x28]
mov eax, dword [ebx + 0x8c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
call fcn.00415969
push esi
push edi
xor esi, esi
mov byte [esp + 0x58], 1
push esi
push esi
push dword [esp + 0x3c]
push dword [esp + 0x34]
call dword [sym.imp.gdiplus.dll_GdipFillRectangleI]
mov ecx, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x40], esi
cmovne ecx, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov esi, dword [ebx + 0x2c]
mov dword [esp + 0x24], ecx
cmp esi, dword [ebx + 0x30]
je 0x442ab9
mov edi, dword [ebp + 8]
mov ecx, dword [esi]
test ecx, ecx
je 0x442ab1
cmp dword [ecx + 0x40], 1
je 0x442ab1
cmp dword [ecx + 0x40], 2
je 0x442ab1
mov eax, dword [ecx]
lea edx, [esp + 0x34]
push edx
call dword [eax + 0xc]
test eax, eax
je 0x442ab1
lea eax, [esp + 0x34]
push eax
push edi
call fcn.00443059
test eax, eax
je 0x442ab1
mov ecx, dword [esi]
lea edx, [esp + 0x20]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
add esi, 4
cmp esi, dword [ebx + 0x30]
jne 0x442a76
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [ebx + 0x88]
mov esi, eax
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push 0xff000000
push eax
push dword [edi + 4]
mov dword [esp + 0x24], esi
call dword [sym.imp.gdiplus.dll_GdipCreateHBITMAPFromBitmap]
test eax, eax
je 0x442aed
mov dword [edi + 8], eax
cmp dword [esp + 0x14], 0
je 0x442b4c
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x14]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
push ebx
call edi
push 0xcc0020
mov esi, eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
push dword [eax]
push ebx
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
push ebx
call edi
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [esp + 0x2c]
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
push dword [esp + 0x20]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44337b
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push 0x17a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x4433a2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 0xc]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x443795
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push str.tips
lea esi, [edi + 0x28]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
xor ebx, ebx
test eax, eax
je 0x4437c9
mov eax, dword [esi]
mov ecx, esi
push str.tips
call dword [eax + 0x20]
push ebx
push ebx
push str.show
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
mov eax, dword [esi]
mov ecx, esi
push str.result1
call dword [eax + 0x20]
test eax, eax
je 0x4437f3
mov eax, dword [esi]
mov ecx, esi
push str.result1
call dword [eax + 0x20]
push ebx
push ebx
push str.show
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
mov eax, dword [esi]
mov ecx, esi
push str.result2
call dword [eax + 0x20]
test eax, eax
je 0x44381d
mov eax, dword [esi]
mov ecx, esi
push str.result2
call dword [eax + 0x20]
push ebx
push ebx
push str.show
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
mov eax, dword [esi]
mov ecx, esi
push str.clearcache
call dword [eax + 0x20]
test eax, eax
je 0x443847
mov eax, dword [esi]
mov ecx, esi
push str.clearcache
call dword [eax + 0x20]
push ebx
push ebx
push str.show
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
mov eax, dword [esi]
mov ecx, esi
push str.waitclearcache
call dword [eax + 0x20]
test eax, eax
je 0x443872
mov eax, dword [esi]
mov ecx, esi
push str.waitclearcache
call dword [eax + 0x20]
push ebx
push 1
push str.show
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
mov eax, dword [esi]
mov ecx, esi
push str.clearcacheing
call dword [eax + 0x20]
test eax, eax
je 0x44389d
mov eax, dword [esi]
mov ecx, esi
push str.clearcacheing
call dword [eax + 0x20]
push ebx
push 1
push str.show
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
mov eax, dword [esi]
mov ecx, esi
push str.refreshgame
call dword [eax + 0x20]
test eax, eax
je 0x4438c8
mov eax, dword [esi]
mov ecx, esi
push str.refreshgame
call dword [eax + 0x20]
push ebx
push 1
push str.show
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
mov eax, dword [esi]
mov ecx, esi
push str.refreshgame
call dword [eax + 0x20]
test eax, eax
je 0x4438f2
mov eax, dword [esi]
mov ecx, esi
push str.refreshgame
call dword [eax + 0x20]
push ebx
push ebx
push str.enable
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
push ebx
push 0x64
push 0x17a
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
push ebx
push ebx
push edi
push 0x443924
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xf4], eax
pop edi
pop esi
pop ebx
ret
Function at 0x4442b6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ecx
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044abb7
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [edi], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x4461b5
Capabilities:
Create thread
Read .ini file

Disassembly:
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0xe0], eax
jne 0x4461f1
inc dword [0x54e240]
push eax
push eax
push esi
push 0x448ab4
push eax
push eax
mov dword [esi + 0xe0], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, esi
call fcn.00448053
mov ecx, esi
pop esi
jmp fcn.00448d81
pop esi
ret

Function at 0x4462e6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5010db
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x5475b0]
xor eax, esp
mov dword [esp + 0x370], eax
push ebx
push esi
push edi
mov eax, dword [0x5475b0]
xor eax, esp
push eax
lea eax, [esp + 0x388]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 0x1b4]
mov eax, dword [edi]
cmp dword [eax - 8], 0
je 0x44644f
push 5
push 1
lea eax, [esp + 0x360]
push eax
call fcn.004b6864
xor esi, esi
mov dword [esp + 0x20], eax
test eax, eax
jle 0x4463a7
lea ecx, [esp + 0x24]
call fcn.00411306
and dword [esp + 0x390], 0
lea eax, [esp + 0x24]
push eax
push dword [esp + esi*4 + 0x35c]
call fcn.004b47d9
test eax, eax
je 0x44638f
push dword [edi]
push dword [esp + 0x80]
call fcn.004da5d4
pop ecx
pop ecx
test eax, eax
je 0x44640a
or dword [esp + 0x390], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00410abb
inc esi
cmp esi, dword [esp + 0x20]
jl 0x446355
mov eax, dword [0x548750]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x390], 1
lea ecx, [esp + 0x18]
mov eax, dword [ebx + 4]
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x718
call fcn.00402aef
lea eax, [ebx + 0x1b0]
push eax
lea ecx, [esp + 0x20]
call fcn.00402aef
push 0x10
call fcn.004da35a
mov esi, eax
pop ecx
test esi, esi
je 0x44641d
mov ecx, dword [0x548750]
mov dword [esi + 8], ecx
mov ecx, dword [0x548750]
mov dword [esi + 0xc], ecx
jmp 0x44641f
or dword [esp + 0x390], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00410abb
jmp 0x44644f
xor esi, esi
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00445e86
xor eax, eax
push eax
push eax
push esi
push 0x445c39
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0x1c]
call fcn.00403080
lea ecx, [esp + 0x18]
call fcn.00403080
xor eax, eax
mov ecx, dword [esp + 0x388]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x370]
xor ecx, esp
call fcn.004d9731
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44748f
Capabilities:
Create thread

Disassembly:
push 0x18
mov eax, 0x5011f7
call fcn.004e6cb7
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edi
push dword [ebp + 8]
mov dword [ebp - 4], edi
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0xe8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
call fcn.0042d5fd
push 0x18
mov dword [ebp - 0x20], 0x70c
call fcn.004da35a
mov esi, eax
pop ecx
test esi, esi
je 0x4474ee
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
jmp 0x4474f0
mov esi, edi
mov eax, dword [ebp - 0x24]
lea ecx, [esi + 0xc]
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 8], eax
lea eax, [ebp - 0x18]
push eax
mov dword [esi + 4], 0x70c
call fcn.0042d5fd
push edi
push edi
push esi
push 0x471da4
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x18]
call fcn.004112db
xor eax, eax
call fcn.004e6c85
ret 4

Function at 0x447e46
Capabilities:
Check if file exists
Create thread

Disassembly:
push 4
mov eax, 0x501270
call fcn.004e6cb7
mov ebx, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x447f3e
mov edx, esi
xor edi, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, di
jne 0x447e66
sub edx, ecx
sar edx, 1
je 0x447f3e
mov edx, esi
lea ecx, [ebp + 8]
call fcn.00429384
mov dword [ebp - 4], edi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x447ec8
lea esi, [ebx + 0x24]
mov edi, str.useravatar
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x20]
test eax, eax
je 0x447f36
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x20]
push 0
push dword [ebp + 8]
mov ecx, eax
mov edx, dword [eax]
push 0x522944
call dword [edx + 0x34]
jmp 0x447f36
mov edx, str.webgameuseravatar.png
lea ecx, [ebp - 0x10]
call fcn.0044bdb0
lea ecx, [ebx + 0x24]
mov byte [ebp - 4], 1
mov eax, dword [ecx]
mov edi, str.useravatar
push edi
call dword [eax + 0x20]
test eax, eax
je 0x447f08
lea ecx, [ebx + 0x24]
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
xor edi, edi
mov ecx, eax
push edi
push dword [ebp - 0x10]
mov edx, dword [eax]
push 0x522944
call dword [edx + 0x34]
jmp 0x447f0a
xor edi, edi
lea ecx, [ebp - 0x10]
call fcn.00403080
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, di
jne 0x447f15
sub esi, ecx
sar esi, 1
je 0x447f36
push edi
push edi
push ebx
push 0x448d31
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp + 8]
call fcn.00403080
call fcn.004e6c85
ret 4
Function at 0x447f76
Capabilities:
Create thread

Disassembly:
push 0x10
mov eax, 0x501293
call fcn.004e6cb7
mov esi, ecx
xor edi, edi
cmp dword [esi + 0xe8], edi
je 0x448008
cmp dword [esi + 0x12c], edi
je 0x447fa8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x12c]
add dword [esi + 0x130], eax
mov eax, dword [0x548750]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x14]
mov eax, dword [esi + 0xe8]
mov dword [ebp - 0x1c], eax
lea eax, [esi + 0xf4]
push eax
call fcn.00402aef
lea eax, [esi + 0xf8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402aef
mov edx, dword [esi + 0x130]
lea ecx, [ebp - 0x1c]
call fcn.0046793d
lea ecx, [ebp - 0x10]
call fcn.00403080
lea ecx, [ebp - 0x14]
call fcn.00403080
lea ecx, [ebp - 0x18]
call fcn.00403080
jmp 0x448031
mov esi, dword [esi + 0x1a8]
test esi, esi
je 0x448031
push edi
xor edx, edx
mov ecx, esi
call fcn.0046799c
pop ecx
test eax, eax
je 0x448031
push edi
push edi
push esi
push 0x46849a
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.004e6c85
ret

Function at 0x448d81
Capabilities:
Read .ini file

Disassembly:
push 0x28
mov eax, 0x501444
call fcn.004e6cb7
mov esi, ecx
mov eax, dword [esi + 0xf4]
xor edi, edi
mov eax, dword [eax - 8]
test eax, eax
jne 0x448e53
cmp dword [esi + 0x190], edi
jne 0x448dfa
lea ecx, [ebp - 0x34]
call fcn.0044554c
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x20]
mov eax, dword [esi + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0xe8]
mov dword [ebp - 0x24], eax
lea eax, [esi + 0x108]
push eax
mov dword [ebp - 0x30], 0x712
call fcn.00402aef
sub esp, 0x24
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.00448e7d
call fcn.00474145
add esp, 0x24
lea ecx, [ebp - 0x34]
call fcn.00448e59
jmp 0x448e53
test eax, eax
jne 0x448e53
mov eax, dword [esi + 0x190]
test eax, eax
je 0x448e53
cmp dword [esi + 0x164], edi
je 0x448e53
cmp dword [eax + 8], edi
jne 0x448e53
cmp dword [eax + 0xc], edi
jbe 0x448e53
push dword [0x549e80]
push edi
push str.ManualTipCount
push str.TouristGame
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 3
jge 0x448e53
mov eax, dword [esi + 0x190]
push edi
imul eax, dword [eax + 0xc], 0x3e8
push eax
push 0x429
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.004e6c85
ret

Function at 0x4490d4
Capabilities:
Create thread
Read .ini file

Disassembly:
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov eax, dword [esi + 0xf4]
cmp dword [eax - 8], ecx
jne 0x449115
push dword [0x549e80]
mov ebx, str.ManualTipCount
mov edi, str.TouristGame
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
inc eax
push eax
push ebx
push edi
call fcn.00433e43
push 0
mov ecx, esi
call fcn.00448ef3
pop edi
pop esi
pop ebx
ret
cmp dword [esi + 0x154], ecx
je 0x449141
cmp dword [esi + 0x150], ecx
jne 0x449111
push ecx
push ecx
push esi
push 0x449060
push ecx
push ecx
mov dword [esi + 0x150], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x449111
pop edi
mov ecx, esi
pop esi
pop ebx
jmp fcn.0044871b
Function at 0x44bdb0
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x4ff2f0
call fcn.004e6cb7
mov ebx, edx
mov esi, ecx
mov eax, dword [0x548750]
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
test ebx, ebx
je 0x44be83
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x44bddd
sub ecx, edx
lea eax, [ebp - 0x10]
sar ecx, 1
je 0x44be86
push ebx
push str.DefaultSkin
push 0x54e030
push str._sskin_s_s
push eax
call fcn.0040306c
add esp, 0x14
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44be83
mov ecx, 0x522fbc
mov eax, str.DefaultSkin
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44be49
test dx, dx
je 0x44be4e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44be49
add eax, 4
add ecx, 4
test dx, dx
jne 0x44be25
jmp 0x44be4e
sbb edi, edi
or edi, 1
test edi, edi
je 0x44be7b
push ebx
push 0x522fbc
push 0x54e030
lea eax, [ebp - 0x10]
push str._sskin_s_s
push eax
call fcn.0040306c
add esp, 0x14
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44be83
lea ecx, [ebp - 0x10]
call fcn.0040503b
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.0040291d
lea ecx, [ebp - 0x10]
call fcn.00403080
mov eax, esi
call fcn.004e6c85
ret
Function at 0x44f31e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5475b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, ecx
mov dword [ebp - 0x130], esi
cmp dword [edi + 0x10], eax
je 0x44f4ae
cmp dword [edi + 0x60], eax
je 0x44f4ae
cmp dword [edi + 0x64], 0xffffffff
push ebx
mov ebx, eax
jne 0x44f3f0
cmp dword [edi + 0x20], eax
jne 0x44f43d
push 0x114
push eax
lea eax, [ebp - 0x118]
inc ebx
push eax
call fcn.004deff0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
lea eax, [ebp - 0x11c]
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x11c], 0xfff0f0f0
push eax
jae 0x44f3bf
mov dword [ebp - 0x11c], 0xffece9d8
call fcn.00415969
push dword [edi + 0x50]
mov ecx, esi
push dword [edi + 0x4c]
push dword [edi + 0x48]
push dword [edi + 0x44]
push eax
call fcn.004156c2
push dword [ebp - 0x124]
mov dword [ebp - method.Gdiplus::Brush.virtual_0], vtable.Gdiplus::Brush.0
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
jmp 0x44f43d
cmp dword [edi + 0x20], eax
jne 0x44f402
mov eax, dword [edi + 0x148]
test eax, eax
je 0x44f402
lea ebx, [eax - 1]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [edi + 0xdc]
je 0x44f430
push dword [edi + 0x190]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44f43d
push dword [edi + 0x190]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x44f43d
xor eax, eax
inc eax
cmp dword [edi + 0x148], 2
cmovae ebx, eax
mov ecx, dword [edi + 0x60]
call fcn.00415afa
xor edx, edx
mov ecx, dword [edi + 0x60]
div dword [edi + 0x148]
mov esi, eax
call fcn.00415ad3
mov ecx, dword [edi + 0x4c]
sub esp, 0x10
add ecx, dword [edi + 0x44]
sub ecx, esi
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x12c], ecx
mov ecx, dword [edi + 0x48]
mov dword [ebp - 0x128], ecx
mov ecx, dword [edi + 0x60]
mov dword [ebp - 0x120], eax
call fcn.00415ad3
push eax
push esi
imul esi, ebx
lea eax, [ebp - 0x12c]
push 0
push esi
mov esi, dword [ebp - 0x130]
mov ecx, esi
push eax
push dword [edi + 0x60]
call fcn.00415a84
lea ecx, [edi + 0x70]
mov eax, dword [ecx]
push esi
call dword [eax + 0x10]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d9731
mov esp, ebp
pop ebp
ret 4
Function at 0x44f5f2
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
mov dword [ebp - 4], edi
push dword [edi + 0x16c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x44f615
xor eax, eax
jmp 0x44f712
mov eax, dword [edi + 0x200]
sub eax, dword [edi + 0x1fc]
test eax, 0xfffffffc
jne 0x44f638
push 0
push dword [edi + 0x16c]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44f60e
cmp dword [ebp + 8], 0
je 0x44f701
mov ecx, dword [edi + 0x68]
test ecx, ecx
je 0x44f701
or dword [edi + 0x1b0], 0xffffffff
mov eax, dword [ecx]
push ebx
push esi
push 0
push 0
push 0x65
call dword [eax]
mov esi, eax
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x50]
add eax, dword [edi + 0x48]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push 1
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [edi + 0x164]
mov dword [ebp + 8], ecx
test ecx, ecx
jg 0x44f698
mov ecx, dword [edi + 0x4c]
mov dword [ebp + 8], ecx
mov eax, dword [edi + 0x200]
sub eax, dword [edi + 0x1fc]
mov ebx, dword [edi + 0x6c]
add ebx, dword [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
sar eax, 2
imul eax, dword [edi + 0x150]
mov edi, dword [edi + 0x160]
add edi, dword [ebp - 0xc]
push 0x40
push eax
push ecx
mov dword [ebp - 8], eax
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x190]
call esi
push 0x40
push dword [ebp - 8]
push dword [ebp + 8]
push edi
push ebx
mov ebx, dword [ebp - 4]
push 0
push dword [ebx + 0x16c]
call esi
push dword [ebx + 0x190]
call dword [sym.imp.USER32.dll_SetFocus]
pop esi
pop ebx
jmp 0x44f70f
push 0
push dword [edi + 0x16c]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x4503ea
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x501b11
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5475b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0x10]
xor edx, edx
movzx ebx, di
xor ecx, ecx
shr edi, 0x10
mov eax, edi
mov dword [esp + 0x20], ecx
div dword [esi + 0x34]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, esi
mov dword [esi + 0x24], eax
call fcn.00450118
push edi
push ebx
lea ecx, [esp + 0x1c]
call fcn.00415790
test eax, eax
je 0x450483
mov eax, dword [esi + 0x24]
push dword [esi + 4]
mov dword [esi + 0x94], 1
mov dword [esi + 0x98], eax
call dword [sym.imp.USER32.dll_SetCapture]
push edi
push ebx
push dword [esi + 0x24]
mov ecx, esi
call fcn.0044ffe4
jmp 0x4504ce
mov eax, dword [0x548750]
mov dword [esp + 0x10], eax
and dword [esp + 0x30], 0
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x24]
mov ecx, esi
call fcn.0045bd4b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x4504c5
push dword [esp + 0x10]
call fcn.0044f598
lea ecx, [esp + 0x10]
call fcn.00403080
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x451259
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.004eaef0
mov eax, dword [0x5475b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [0x54e278], 1
push 0xffe
mov word [ebp - 0x1004], ax
xor edi, edi
lea eax, [ebp - 0x1002]
mov esi, ecx
push edi
push eax
call fcn.004deff0
add esp, 0xc
lea eax, [ebp - 0x1004]
push 0x800
push eax
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x1004]
mov dword [0x54e278], edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x4512c2
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x4512e5
push ecx
push edi
push 0xb1
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d9731
mov esp, ebp
pop ebp
ret

Function at 0x45147e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x5475b0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x808], 0
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
mov dword [0x54e278], 1
call fcn.004deff0
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
and dword [0x54e278], 0
lea eax, [ebp - 0x804]
push eax
mov ecx, edi
call fcn.00404fa0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004d9731
mov esp, ebp
pop ebp
ret 4