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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x6136a4]
push ebx
push ebp
push esi
push edi
xor bl, bl
push eax
mov esi, 1
mov byte [esp + 0x15], bl
mov byte [esp + 0x17], 1
mov byte [esp + 0x14], bl
mov byte [esp + 0x16], 1
call fcn.0043bf80
mov ecx, dword [0x613690]
push ecx
mov dword [esp + 0x3c], eax
call fcn.0043bf80
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 4]
add esp, 8
test eax, eax
mov dword [esp + 0x14], 0x190
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
je 0x4828b0
cmp byte [eax], 0x2d
jne 0x4828b0
push 0x68
push eax
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x48281b
mov bl, 1
mov edx, dword [ebp + 4]
push 0x6e
push edx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x482832
mov byte [esp + 0x12], 0
mov eax, dword [ebp + 4]
push 0x72
push eax
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x482849
mov byte [esp + 0x11], 1
mov ecx, dword [ebp + 4]
push 0x70
push ecx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x482860
mov byte [esp + 0x13], 0
mov edx, dword [ebp + 4]
push 0x62
push edx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x48287a
mov dword [esp + 0x18], 2
mov eax, dword [ebp + 4]
push 0x6f
push eax
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x482894
mov dword [esp + 0x14], 0x2bc
mov ecx, dword [ebp + 4]
push 0x63
push ecx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x4828ab
mov byte [esp + 0x10], 1
mov esi, 2
mov eax, dword [ebp + esi*4]
test eax, eax
push 0
je 0x482b11
push eax
call fcn.00503170
mov edi, eax
add esp, 8
test edi, edi
je 0x482dec
mov eax, dword [edi + 0x87c]
test eax, eax
je 0x482dec
mov eax, dword [edi + 0x754]
test eax, eax
je 0x482dec
mov eax, dword [edi + 0x95c]
test eax, eax
je 0x482dec
cmp dword [edi + 0x71c], 9
jne 0x482dec
test bl, bl
je 0x482917
mov eax, dword [edi]
push eax
call fcn.0058b370
add esp, 4
mov eax, dword [ebp + esi*4 + 4]
inc esi
test eax, eax
jne 0x482942
mov al, byte [esp + 0x12]
test al, al
je 0x482a48
push edi
call fcn.00481320
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov bl, byte [esp + 0x11]
test bl, bl
push eax
je 0x482959
call fcn.005cbdc9
add esp, 4
mov dword [esp + 0x2c], eax
jmp 0x482976
call fcn.005cbe51
push eax
call fcn.0043bf80
mov edx, dword [eax*4 + 0x612870]
add esp, 8
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], edx
mov eax, dword [ebp + esi*4 + 4]
inc esi
test eax, eax
je 0x482dd2
mov ecx, dword [0x613690]
push ecx
call fcn.0043bf80
mov edx, dword [eax*4 + 0x612870]
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, 2
mov dword [esp + 0x1c], edx
jne 0x4829ec
test bl, bl
je 0x4829bd
mov eax, dword [ebp + esi*4]
push eax
call fcn.005cbdc9
add esp, 4
mov dword [esp + 0x1c], eax
jmp 0x4829df
mov ecx, dword [ebp + esi*4]
push ecx
call fcn.005cbe51
push eax
call fcn.0043bf80
mov edx, dword [eax*4 + 0x612870]
add esp, 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], edx
mov eax, dword [ebp + esi*4 + 4]
inc esi
test eax, eax
je 0x482dd2
mov ebx, dword [esp + 0x74]
mov byte [ebx], 0
mov edx, dword [ebp + esi*4]
mov ecx, dword [edi + 0x9f0]
push edx
mov dword [esp + 0x74], ecx
call fcn.00515900
add esp, 4
test eax, eax
jne 0x482a6e
push eax
push 0x104
push ebx
push esi
push ebp
call fcn.005165a0
mov esi, eax
add esp, 0x14
test esi, esi
jge 0x482a3f
mov eax, dword [ebp]
push 3
push 0
push eax
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov eax, dword [ebp + esi*4 + 4]
inc esi
test eax, eax
jne 0x482a4f
push 0
jmp 0x482dee
push eax
call fcn.005cbe51
mov edx, dword [esp + 0x18]
push 1
push edx
push eax
mov eax, dword [edi]
push ebx
push eax
call fcn.0049a0c0
add esp, 0x18
mov dword [esp + 0x70], eax
inc esi
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x482dd2
mov ecx, dword [ebp + esi*4 + 4]
test ecx, ecx
je 0x482dd2
push eax
call fcn.005cbe51
mov ecx, dword [ebp + esi*4 + 4]
push ecx
mov dword [esp + 0x4c], eax
call fcn.005cbe51
mov dword [esp + 0x50], eax
mov al, byte [esp + 0x18]
add esp, 8
add esi, 2
test al, al
je 0x482ae4
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x482dd2
mov ecx, dword [ebp + esi*4 + 4]
test ecx, ecx
je 0x482dd2
push eax
call fcn.005cbe51
mov edx, dword [ebp + esi*4 + 4]
push edx
mov dword [esp + 0x54], eax
call fcn.005cbe51
add esp, 8
mov dword [esp + 0x50], eax
add esi, 2
jmp 0x482b08
mov edx, dword [edi + 0x95c]
lea ecx, [esp + 0x54]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
cmp dword [ebp + esi*4], 0
jne 0x482b29
push 0
mov edx, dword [ebp]
push 0
push edx
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov eax, dword [esp + 0x78]
push ebp
push eax
push esi
mov byte [eax], 0
call fcn.00515990
mov eax, dword [edi + 0x87c]
add esp, 0xc
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x3c], ebp
je 0x482b6d
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
jne 0x482b77
mov ecx, dword [edi + 0x87c]
push ebp
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov edx, dword [edi + 0x95c]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, dword [sym.imp.GDI32.dll_CreateFontA]
mov dword [esp + 0x40], eax
cmp byte [ebx], 0
je 0x482bc1
mov eax, dword [esp + 0x14]
push ebx
push 0
mov ecx, dword [esp + 0x78]
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push eax
push 0
push 0
push 0
neg ecx
push ecx
call ebp
test eax, eax
mov dword [esp + 0x28], eax
jne 0x482c1f
lea eax, [edi + 0x98c]
mov edx, ebx
sub edx, eax
jmp 0x482bd0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x482bd0
mov edx, dword [edi + 0x9f8]
mov ecx, dword [edi + 0x9f4]
mov eax, dword [edi + 0x9f0]
push ebx
push 0
push 0
push 0
push 0
push edx
push 0
push 0
push 0
push ecx
push 0
push 0
mov dword [esp + 0xa0], eax
push 0
neg eax
push eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], edx
call ebp
test eax, eax
mov dword [esp + 0x28], eax
je 0x482c2d
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x38], eax
jmp 0x482c35
mov dword [esp + 0x38], 0
mov al, byte [esp + 0x13]
test al, al
mov dword [esp + 0x20], 0
je 0x482c4d
mov dword [esp + 0x20], 4
mov al, byte [esp + 0x10]
test al, al
jne 0x482c92
mov edx, dword [edi + 0xa08]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push 0
push edi
push edx
mov edx, dword [esp + 0x20]
or eax, 0x13
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x8c]
push edx
push eax
push ebx
push ecx
call fcn.00486bc0
add esp, 0x24
movzx ebp, ax
shr eax, 0x10
jmp 0x482c9a
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ecx, dword [edi + 0x968]
add ebp, edx
cmp ebp, ecx
jle 0x482cb0
mov dword [edi + 0x968], ebp
mov ecx, dword [esp + 0x48]
lea ebx, [eax + ecx]
cmp ebx, dword [edi + 0x96c]
jle 0x482cc5
mov dword [edi + 0x96c], ebx
mov edx, dword [esp + 0x2c]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x1c]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x18]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [edi + 0xa08]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push 0
push edi
push edx
movzx edx, byte [esp + 0x1d]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x88]
push 0
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x78]
push edx
sub esp, 0x10
mov edx, esp
push ecx
mov dword [edx], eax
push eax
mov eax, dword [esp + 0xc4]
mov dword [edx + 4], ecx
push eax
mov dword [edx + 8], ebp
push esi
mov dword [edx + 0xc], ebx
call fcn.00485c90
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov dl, byte [esp + 0x66]
add esp, 0x54
sub ebp, eax
sub ebx, ecx
test dl, dl
je 0x482d85
push 0xcc0020
push ecx
push eax
push esi
push ebx
push ebp
push ecx
mov ecx, dword [esp + 0x58]
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x482da0
mov edx, dword [esp + 0x38]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x40]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x3c]
mov edx, dword [edi + 0x87c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov eax, dword [ebp]
push 0
push 0
push eax
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
push 7
mov ecx, dword [ebp]
push 0
push ecx
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret