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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5133f0
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x5467a4]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov ebx, ecx
mov al, byte [ebx + 0x544]
test al, al
mov ecx, dword [ebp + 8]
mov dword [esp + 0x30], ecx
jne 0x4a2e44
mov eax, dword [ebp + 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.004943c0
jmp 0x4a33f9
cmp dword [ebx + 0x380], 0
je 0x4a33f9
mov edx, dword [ebx + 0x45c]
mov edi, edx
and edi, 4
je 0x4a2eab
cmp dword [ebx + 0x198], 0
jne 0x4a2e82
cmp dword [ebx + 0x1a0], 0
jne 0x4a2e82
cmp dword [ebx + 0x19c], 0
jne 0x4a2e82
cmp dword [ebx + 0x1a4], 0
je 0x4a2eab
mov ecx, dword [ebx + 0x19c]
mov eax, dword [ebx + 0x1a0]
mov esi, dword [ebx + 0x198]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x1a4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jmp 0x4a2f5b
test dl, 2
je 0x4a2ef2
cmp dword [ebx + 0x188], 0
jne 0x4a2ed4
cmp dword [ebx + 0x190], 0
jne 0x4a2ed4
cmp dword [ebx + 0x18c], 0
jne 0x4a2ed4
cmp dword [ebx + 0x194], 0
je 0x4a2ef2
mov eax, dword [ebx + 0x18c]
mov esi, dword [ebx + 0x188]
mov ecx, dword [ebx + 0x190]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x194]
jmp 0x4a2f53
test dl, 0x10
je 0x4a2f08
lea ecx, [ebx + 0x178]
mov eax, ecx
call fcn.0049b0e0
test al, al
je 0x4a2f1e
test dl, 8
je 0x4a2f37
lea ecx, [ebx + 0x168]
mov eax, ecx
call fcn.0049b0e0
test al, al
jne 0x4a2f37
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jmp 0x4a2f5b
mov eax, dword [ebx + 0x15c]
mov esi, dword [ebx + 0x158]
mov ecx, dword [ebx + 0x160]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x164]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
xor ecx, ecx
cmp edi, ecx
je 0x4a2f6b
mov eax, dword [ebx + 0x14c]
cmp eax, ecx
jne 0x4a2f9e
test dl, 2
je 0x4a2f7a
mov eax, dword [ebx + 0x148]
cmp eax, ecx
jne 0x4a2f9e
test dl, 0x10
je 0x4a2f89
mov eax, dword [ebx + 0x144]
cmp eax, ecx
jne 0x4a2f9e
test dl, 8
je 0x4a2f98
mov eax, dword [ebx + 0x140]
cmp eax, ecx
jne 0x4a2f9e
mov eax, dword [ebx + 0x13c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], ecx
mov word [esp + 0xa8], cx
cmp edi, ecx
mov dword [esp + 0xd0], ecx
je 0x4a2fdb
cmp dword [ebx + 0xa8], ecx
je 0x4a2fdb
push 0xffffffffffffffff
push ecx
lea ecx, [ebx + 0x94]
push ecx
jmp 0x4a301a
test dl, 2
je 0x4a2fed
cmp dword [ebx + 0x8c], ecx
je 0x4a2fed
lea edx, [ebx + 0x78]
jmp 0x4a3016
test dl, 0x10
je 0x4a3000
cmp dword [ebx + 0x70], ecx
je 0x4a3000
push 0xffffffffffffffff
push ecx
lea eax, [ebx + 0x5c]
push eax
jmp 0x4a301a
test dl, 8
je 0x4a3013
cmp dword [ebx + 0x54], ecx
je 0x4a3013
push 0xffffffffffffffff
push ecx
lea ecx, [ebx + 0x40]
push ecx
jmp 0x4a301a
lea edx, [ebx + 0x24]
push 0xffffffffffffffff
push ecx
push edx
lea eax, [esp + 0xb0]
call fcn.00401610
mov edi, dword [ebx + 0x3f4]
mov eax, dword [ebx + 0x3fc]
add edi, dword [esp + 0x1c]
sub eax, dword [esp + 0x24]
mov ecx, dword [ebx + 0x3f8]
mov edx, dword [ebx + 0x3f0]
sub ecx, dword [esp + 0x20]
add edx, esi
xor esi, esi
sub ecx, edx
sub eax, edi
mov dword [esp + 0x94], edx
mov edx, eax
xor eax, eax
mov dword [esp + 0x98], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x90], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
push edx
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0xdc], 1
call fcn.0049b1e0
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x88]
movzx eax, dl
mov ecx, edx
mov dword [esp + 0x44], eax
movzx edx, dh
shl eax, 8
shr ecx, 0x10
or eax, edx
movzx ecx, cl
shl eax, 8
or eax, ecx
cmp edi, esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], eax
je 0x4a311f
mov esi, dword [esp + 0x68]
imul esi, dword [esp + 0x64]
add esi, esi
add esi, esi
call fcn.0049c640
mov ecx, dword [esp + 0x54]
push 1
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x54]
push edx
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [esp + 0xbc], 8
mov ecx, dword [esp + 0xa8]
jae 0x4a3159
lea ecx, [esp + 0xa8]
mov edx, dword [ebx + 0x448]
mov esi, dword [esp + 0x54]
push edx
call fcn.004817d0
mov eax, dword [eax]
push eax
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
call esi
cmp dword [ebx + 0x384], 8
mov edi, eax
jb 0x4a3188
mov eax, dword [ebx + 0x370]
jmp 0x4a318e
lea eax, [ebx + 0x370]
mov ecx, dword [ebx + 0x310]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x64]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x54]
push edi
push ecx
call esi
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x4a31bf
xor esi, esi
jmp 0x4a31cc
mov esi, dword [esp + 0x68]
imul esi, dword [esp + 0x64]
add esi, esi
add esi, esi
mov edi, eax
call fcn.0049c3f0
test eax, eax
push edi
je 0x4a31df
call fcn.0049c580
jmp 0x4a31e6
mov eax, esi
call fcn.0049c5f0
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x8c]
add esp, 4
test eax, eax
mov dword [esp + 0x3c], edi
jle 0x4a3388
fld qword [0x52ca28]
xor esi, esi
lea ecx, [edi*4]
mov dword [esp + 0x34], esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x3c], 0
jle 0x4a336d
lea eax, [edx + 1]
mov ebx, edx
mov edi, edx
sub ebx, eax
sub edi, eax
lea ecx, [eax + esi]
mov eax, dword [esp + 0x3c]
add ebx, 2
mov dword [esp + 0x40], ebx
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x40]
movzx ebx, byte [ebx + ecx]
xor eax, eax
mov ah, byte [edi + ecx]
mov al, byte [ecx]
shl eax, 8
or eax, ebx
mov ebx, dword [esp + 0x38]
cmp ebx, eax
je 0x4a3354
cmp byte [edx + esi + 3], 0
je 0x4a3354
test eax, eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jge 0x4a3284
fadd dword [0x52ca90]
test ebx, ebx
mov dword [esp + 0x14], ebx
fild dword [esp + 0x14]
jge 0x4a3296
fadd dword [0x52ca90]
fdivp st(1)
mov ebx, dword [esp + 0x40]
fstp dword [esp + 0x10]
fild dword [esp + 0x44]
fld dword [esp + 0x10]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fld st(0)
fmulp st(2)
or eax, 0xc00
mov dword [esp + 0x14], eax
fxch st(1)
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx eax, byte [esp + 0x14]
mov byte [edi + ecx], al
fldcw word [esp + 0x10]
fild dword [esp + 0x48]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(1)
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx eax, byte [esp + 0x14]
mov byte [ecx], al
fldcw word [esp + 0x10]
fild dword [esp + 0x4c]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(1)
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx eax, byte [esp + 0x14]
mov byte [ebx + ecx], al
fldcw word [esp + 0x10]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(1)
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx eax, byte [esp + 0x14]
mov byte [edx + esi + 3], al
fldcw word [esp + 0x10]
add esi, 4
add ecx, 4
sub dword [esp + 0x28], 1
jne 0x4a3247
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x34]
add esi, ecx
sub dword [esp + 0x2c], 1
mov dword [esp + 0x34], esi
jne 0x4a321f
mov eax, dword [esp + 0x24]
fstp st(0)
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x54]
xor ecx, ecx
mov word [esp + 0x11], cx
mov byte [esp + 0x13], cl
mov byte [esp + 0x10], 0
mov byte [esp + 0x13], 1
mov byte [esp + 0x12], 0xff
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x9c]
push eax
push edi
push 0
push 0
push edx
mov edx, dword [esp + 0xac]
push eax
mov eax, dword [esp + 0xac]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
lea esi, [esp + 0x54]
call fcn.0049b140
cmp dword [esp + 0xbc], 8
jb 0x4a33f9
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.004e7d7e
add esp, 4
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.004e7d6f
mov esp, ebp
pop ebp
ret 8