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

Disassembly:
sub esp, 0x98
push ebx
push ebp
push esi
push edi
xor bl, bl
mov edi, ecx
mov ecx, dword [0x5a550c]
mov dword [esp + 0x14], edx
mov esi, 1
mov byte [esp + 0x11], bl
mov byte [esp + 0x10], bl
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], 1
call fcn.004336b0
mov ecx, dword [0x5a54f8]
mov dword [esp + 0x4c], eax
call fcn.004336b0
mov dword [esp + 0x50], eax
mov eax, dword [edi + 4]
test eax, eax
mov dword [esp + 0x2c], 0x190
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
je 0x4732a0
cmp byte [eax], 0x2d
jne 0x4732a0
push 0x68
push eax
call fcn.00570260
add esp, 8
test eax, eax
je 0x47320b
mov bl, 1
mov eax, dword [edi + 4]
push 0x6e
push eax
call fcn.00570260
add esp, 8
test eax, eax
je 0x473222
mov byte [esp + 0x13], 0
mov ecx, dword [edi + 4]
push 0x72
push ecx
call fcn.00570260
add esp, 8
test eax, eax
je 0x473239
mov byte [esp + 0x11], 1
mov edx, dword [edi + 4]
push 0x70
push edx
call fcn.00570260
add esp, 8
test eax, eax
je 0x473250
mov byte [esp + 0x10], 1
mov eax, dword [edi + 4]
push 0x62
push eax
call fcn.00570260
add esp, 8
test eax, eax
je 0x47326a
mov dword [esp + 0x3c], 2
mov ecx, dword [edi + 4]
push 0x6f
push ecx
call fcn.00570260
add esp, 8
test eax, eax
je 0x473284
mov dword [esp + 0x2c], 0x2bc
mov edx, dword [edi + 4]
push 0x63
push edx
call fcn.00570260
add esp, 8
test eax, eax
je 0x47329b
mov byte [esp + 0x12], 1
mov esi, 2
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x4737e2
xor edx, edx
call fcn.004e2e60
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x18], ebp
je 0x4737e6
mov eax, dword [ebp + 0x864]
test eax, eax
je 0x4737e6
mov eax, dword [ebp + 0x744]
test eax, eax
je 0x4737e6
mov eax, dword [ebp + 0x948]
test eax, eax
je 0x4737e6
cmp dword [ebp + 0x708], 9
jne 0x4737e6
test bl, bl
je 0x473303
mov ecx, dword [ebp]
call fcn.00496a30
mov eax, dword [edi + esi*4 + 4]
inc esi
test eax, eax
jne 0x473331
mov al, byte [esp + 0x13]
test al, al
je 0x4737e2
mov ecx, ebp
call fcn.00471dd0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 4
mov bl, byte [esp + 0x11]
test bl, bl
push eax
je 0x473344
call fcn.00570543
add esp, 4
jmp 0x47335e
call fcn.005705cb
add esp, 4
mov ecx, eax
call fcn.004336b0
mov dword [esp + 0x4c], eax
mov eax, dword [eax*4 + 0x5a47c0]
inc esi
mov dword [esp + 0x34], eax
cmp dword [edi + esi*4], 0
je 0x4737e2
mov ecx, dword [0x5a54f8]
call fcn.004336b0
mov ecx, dword [eax*4 + 0x5a47c0]
cmp dword [esp + 0x3c], 2
mov dword [esp + 0x30], ecx
jne 0x4733cf
test bl, bl
je 0x4733a0
mov edx, dword [edi + esi*4]
push edx
call fcn.00570543
add esp, 4
mov dword [esp + 0x30], eax
jmp 0x4733c2
mov eax, dword [edi + esi*4]
push eax
call fcn.005705cb
add esp, 4
mov ecx, eax
call fcn.004336b0
mov ecx, dword [eax*4 + 0x5a47c0]
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], ecx
mov eax, dword [edi + esi*4 + 4]
inc esi
test eax, eax
je 0x4737e2
mov edx, dword [esp + 0x14]
mov byte [edx], 0
mov ecx, dword [edi + esi*4]
mov ebx, dword [ebp + 0x9dc]
call fcn.004f4570
test eax, eax
jne 0x473436
push eax
mov eax, dword [esp + 0x18]
push 0x104
push eax
mov edx, esi
mov ecx, edi
call fcn.004f51f0
mov esi, eax
test esi, esi
jge 0x473409
push 3
jmp 0x4737e8
mov eax, dword [edi + esi*4 + 4]
inc esi
test eax, eax
je 0x4737e2
push eax
call fcn.005705cb
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
add esp, 4
push 1
push ecx
mov ecx, dword [ebp]
push eax
call fcn.0048d160
mov ebx, eax
inc esi
mov eax, dword [edi + esi*4]
test eax, eax
je 0x4737e2
mov ecx, dword [edi + esi*4 + 4]
test ecx, ecx
je 0x4737e2
push eax
call fcn.005705cb
mov dword [esp + 0x20], eax
mov edx, dword [edi + esi*4 + 4]
push edx
call fcn.005705cb
mov dword [esp + 0x28], eax
mov al, byte [esp + 0x1a]
add esp, 8
add esi, 2
test al, al
je 0x4734aa
mov eax, dword [edi + esi*4]
test eax, eax
je 0x4737e2
mov ecx, dword [edi + esi*4 + 4]
test ecx, ecx
je 0x4737e2
push eax
call fcn.005705cb
mov dword [esp + 0x28], eax
mov eax, dword [edi + esi*4 + 4]
push eax
call fcn.005705cb
add esp, 8
mov dword [esp + 0x28], eax
add esi, 2
jmp 0x4734ce
mov edx, dword [ebp + 0x948]
lea ecx, [esp + 0x58]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
cmp dword [edi + esi*4], 0
je 0x4737e2
mov ebp, dword [esp + 0xac]
push edi
mov edx, ebp
mov ecx, esi
mov byte [ebp], 0
call fcn.004f4660
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x864]
push eax
call dword [sym.imp.USER32.dll_GetDC]
test eax, eax
mov dword [esp + 0x38], eax
je 0x473527
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
jne 0x473536
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x864]
push edi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x948]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
cmp byte [edx], 0
je 0x473582
mov edi, dword [esp + 0x2c]
mov eax, edx
push eax
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_CreateFontA]
test eax, eax
mov dword [esp + 0x44], eax
jne 0x4735e3
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add eax, 0x978
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x473591
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x9e0]
mov ebx, dword [eax + 0x9dc]
mov eax, dword [eax + 0x9e4]
push ecx
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x78], eax
call dword [sym.imp.GDI32.dll_CreateFontA]
test eax, eax
mov dword [esp + 0x44], eax
je 0x4735f1
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x48], eax
jmp 0x4735f9
mov dword [esp + 0x48], 0
mov al, byte [esp + 0x12]
test al, al
jne 0x47365c
lea edx, [esp + 0x70]
push edx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], eax
mov al, byte [esp + 0x10]
test al, al
je 0x473640
mov ecx, dword [esp + 0x40]
xor edx, edx
cmp edi, 0x2bc
push 0
sete dl
push 0
push ecx
mov ecx, ebp
push edx
mov edx, dword [esp + 0x24]
push ebx
call fcn.00476460
jmp 0x473658
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x473645
sub eax, edx
push eax
mov edx, ebp
mov ecx, esi
call fcn.00500390
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add eax, ecx
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 0x954]
jle 0x473678
mov dword [ecx + 0x954], eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
add eax, edx
cmp eax, dword [ecx + 0x958]
jle 0x473690
mov dword [ecx + 0x958], eax
mov ecx, dword [esp + 0x34]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x30]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esp + 0x3c]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov al, byte [esp + 0x10]
add edi, ecx
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x20]
add edx, edi
test al, al
mov dword [esp + 0x28], edx
je 0x473729
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push edx
movzx edx, byte [esp + 0x15]
push eax
mov eax, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x38]
push 2
push 0
push eax
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x6c]
push ebx
push eax
mov eax, dword [esp + 0x70]
push edx
push eax
mov eax, dword [esp + 0x50]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x64]
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, ebp
mov ecx, esi
call fcn.00475d10
jmp 0x47374d
mov eax, ebp
lea ebx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x473730
push 0
sub eax, ebx
push eax
push ebp
lea edx, [esp + 0x28]
push edx
push 4
push edi
push ecx
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dl, byte [esp + 0x13]
sub ebx, eax
sub edi, ecx
test dl, dl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
je 0x47378c
push 0xcc0020
push ecx
push eax
push esi
mov edx, edi
push edx
mov edx, ebx
push edx
push ecx
push eax
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov edi, dword [esp + 0x44]
test edi, edi
je 0x4737a7
mov ecx, dword [esp + 0x48]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x54]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x864]
push eax
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 4
push 0
jmp 0x4737e8
push 7
mov edx, dword [edi]
xor ecx, ecx
push ecx
call fcn.00479790
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 4