Function at 0x43c550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44ae4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 4
mov dword [esp + 0x30], eax
call esi
push 0xf
mov ebp, eax
call esi
push 7
mov dword [esp + 0x1c], eax
call esi
push 0x11
mov ebx, eax
call esi
push 0xd
mov dword [esp + 0x2c], eax
call esi
push 0xe
mov edi, eax
call esi
mov dword [esp + 0x24], eax
mov eax, dword [0x451530]
test eax, eax
mov dword [esp + 0x1c], edi
je 0x43c5e9
lea eax, [esp + 0x14]
push 0
push eax
push 0
push 0x1022
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43c5e9
push 0x1d
call esi
push 0x1e
mov dword [esp + 0x20], eax
call esi
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x80]
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x43c666
push ebp
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
test edi, edi
je 0x43c61a
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x1c]
push edi
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [esi + 0x1c]
lea ecx, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esi + 0x28]
mov ebx, dword [esi + 0x20]
mov ecx, dword [esp + 0x4c]
sub eax, ebx
cdq
sub eax, edx
push 2
sar eax, 1
add ecx, eax
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x4c]
push 6
push edx
push eax
mov dword [esp + 0x5c], ecx
call dword [sym.imp.USER32.dll_DrawEdge]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret
mov ecx, dword [0x451574]
mov edx, dword [ecx + 0xb8]
test edx, edx
je 0x43cb54
mov cl, byte [eax]
xor edx, edx
test cl, cl
setne dl
inc eax
cmp word [0x45155e], 3
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], 0
jne 0x43c6c2
mov eax, dword [0x451558]
test eax, eax
je 0x43c6c2
push 1
push eax
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.GDI32.dll_SelectPalette]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x20], eax
push ecx
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
test eax, eax
mov dword [esp + 0x80], ebp
je 0x43c6e0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x80], edx
mov eax, dword [esi + 0x10]
test al, 0x41
je 0x43c6fa
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x80], edx
test al, 2
je 0x43c706
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x80]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebp, eax
test ebp, ebp
je 0x43c7a0
mov al, byte [esi + 0x10]
push ebp
test al, 1
je 0x43c78b
mov edx, dword [esi + 0x18]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push 1
push 0
mov ebx, eax
call dword [sym.imp.GDI32.dll_CreatePen]
mov edi, eax
mov eax, dword [esi + 0x18]
push edi
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
mov edx, dword [esi + 0x18]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi + 0x18]
push ebx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x43c799
mov ecx, dword [esi + 0x18]
lea eax, [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x18]
push edx
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esi + 0x18]
push 1
push ecx
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x1c], edi
je 0x43c7e0
mov edx, dword [esi + 0x18]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x14], edi
jne 0x43ca7a
mov eax, dword [0x451574]
mov ebp, dword [eax + 0xbc]
cmp ebp, edi
je 0x43ca7a
mov ecx, dword [ebp]
mov eax, dword [esi + 0x10]
mov dx, word [esi + 8]
add ebp, 4
test al, 8
je 0x43c813
mov edx, 0xfffe
test al, 2
mov dword [esp + 0x10], edi
je 0x43c823
mov dword [esp + 0x10], 0xa
xor eax, eax
cmp ecx, edi
jbe 0x43ca7a
cmp word [ebp], dx
je 0x43c840
add ebp, 4
inc eax
cmp eax, ecx
jb 0x43c82d
jmp 0x43ca7a
mov ebx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_264]
add ebx, 5
add eax, 4
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], eax
call edi
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x70], 0
push ecx
lea ecx, [esp + 0x5c]
call dword [sym.imp.MMFS2.dll_Ordinal_373]
lea ecx, [esp + 0x38]
call edi
mov ecx, dword [0x451574]
lea edx, [esp + 0x38]
xor eax, eax
push 1
mov ax, word [ebp + 2]
push edx
mov edx, dword [ecx + 0x1c4]
push eax
push edx
mov byte [esp + 0x80], 1
call sub.MMFS2.dll_Ordinal_169
test eax, eax
je 0x43ca5b
lea ecx, [esp + 0x48]
call edi
mov eax, dword [0x451574]
push 0
push 1
lea edx, [esp + 0x34]
mov ecx, dword [eax + 0x1c8]
mov byte [esp + 0x78], 2
push ecx
push edx
call dword [sym.imp.MMFS2.dll_Ordinal_172]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x48]
push eax
push 0x10
push 0x10
call dword [sym.imp.MMFS2.dll_Ordinal_372]
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_487]
lea ecx, [esp + 0x38]
call edi
cmp eax, 8
jne 0x43c918
lea ecx, [esp + 0x48]
call edi
cmp eax, 8
jne 0x43c918
push 0
lea ecx, [esp + 0x3c]
call dword [sym.imp.MMFS2.dll_Ordinal_546]
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.MMFS2.dll_Ordinal_740]
mov ecx, dword [esp + 0x80]
push ecx
lea ecx, [esp + 0x4c]
call dword [sym.imp.MMFS2.dll_Ordinal_445]
lea ecx, [esp + 0x38]
call dword [sym.imp.MMFS2.dll_Ordinal_585]
lea ecx, [esp + 0x38]
mov edi, eax
call dword [sym.imp.MMFS2.dll_Ordinal_520]
cmp edi, 0x10
mov ebp, eax
jg 0x43c982
cmp ebp, 0x10
jg 0x43c982
mov edx, dword [esp + 0x10]
mov eax, 0x10
push 0
push 0
sub eax, ebp
push edx
cdq
sub eax, edx
push 1
sar eax, 1
push eax
mov eax, 0x10
sub eax, edi
lea ecx, [esp + 0x4c]
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_344]
jmp 0x43ca00
mov eax, ebp
shl eax, 8
cdq
and edx, 0xf
add eax, edx
mov ecx, eax
mov eax, edi
shl eax, 8
cdq
and edx, 0xf
add eax, edx
sar ecx, 4
sar eax, 4
cmp eax, ecx
jle 0x43ca3a
mov eax, ebp
mov ecx, 0x10
shl eax, 4
cdq
idiv edi
mov ebx, eax
test ebx, ebx
jne 0x43c9c0
mov ebx, 1
mov edx, dword [esp + 0x10]
mov eax, 0x10
push 0
push 0
sub eax, ebx
push edx
push 1
push ebp
cdq
push edi
push 0
sub eax, edx
push 0
push ebx
push ecx
sar eax, 1
push eax
mov eax, 0x10
sub eax, ecx
lea ecx, [esp + 0x64]
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_756]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 0
push 0
push 0
push 0
push ecx
lea edx, [esp + 0x6c]
push ebx
push edx
lea ecx, [esp + 0x64]
call dword [sym.imp.MMFS2.dll_Ordinal_344]
lea eax, [esp + 0x38]
push eax
call sub.MMFS2.dll_Ordinal_170
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_286]
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 1
call edi
jmp 0x43ca61
mov eax, edi
mov ebx, 0x10
shl eax, 4
cdq
idiv ebp
mov ecx, eax
test ecx, ecx
jne 0x43c9c0
mov ecx, 1
jmp 0x43c9c0
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_286]
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0
call edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], 0xffffffff
call edi
mov ecx, dword [esp + 0x30]
mov edi, ecx
mov al, byte [ecx]
cmp al, 9
je 0x43ca92
test al, al
je 0x43ca92
mov al, byte [edi + 1]
inc edi
cmp al, 9
jne 0x43ca86
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43cac0
mov edi, dword [esi + 0x1c]
mov edx, dword [esi + 0x24]
lea eax, [esi + 0x1c]
push 0x25
push eax
push 0xffffffffffffffff
push ecx
mov ecx, dword [esi + 0x18]
add edi, 5
add edx, 0xfffffffb
push ecx
mov dword [eax], edi
mov dword [esi + 0x24], edx
call dword [sym.imp.USER32.dll_DrawTextA]
jmp 0x43cb0e
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x24]
lea ebp, [esi + 0x1c]
add edx, 0x1a
add eax, 0xfffffff3
push 0x24
mov dword [ebp], edx
mov dword [esi + 0x24], eax
mov al, byte [edi]
push ebp
push 0xffffffffffffffff
cmp al, 9
push ecx
je 0x43caed
mov edx, dword [esi + 0x18]
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
jmp 0x43cb0e
mov ebx, dword [sym.imp.USER32.dll_DrawTextA]
mov byte [edi], 0
mov eax, dword [esi + 0x18]
push eax
call ebx
mov edx, dword [esi + 0x18]
push 0x26
push ebp
lea ecx, [edi + 1]
push 0xffffffffffffffff
push ecx
push edx
call ebx
mov byte [edi], 9
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43cb21
push eax
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x18]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43cb54
mov edx, dword [esi + 0x18]
push 1
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectPalette]
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret