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

Disassembly:
sub esp, 0x6c
push ebx
push esi
push edi
push ebp
call fcn.0048dae0
mov ecx, eax
lea eax, [eax + eax*2]
cdq
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x1c], eax
sub eax, edx
push ebx
sar eax, 1
lea edx, [ecx + ecx*8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], edx
call fcn.0048daf0
add esp, 4
movsx esi, ax
push ebx
call fcn.004dd110
mov dword [esp + 0x2c], eax
add esp, 4
mov word [esp + 0x14], 4
mov byte [esp + 0x13], 0
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push esi
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov word [esp + 0x16], 0
mov dword [esp + 0x78], eax
movsx esi, word [esp + 0x16]
mov eax, esi
lea edi, [esi + 1]
shl eax, 4
lea ecx, [esp + eax + 0x48]
push ecx
push edi
push ebx
call fcn.0048db10
mov ecx, dword [esp + 0x90]
add esp, 0xc
push edi
push ecx
call fcn.0048dfa0
add esp, 8
mov edi, eax
cmp dword [0x50928c], 0
mov eax, 1
je 0x48e084
push edi
call fcn.004c8040
add esp, 4
test eax, eax
je 0x48e08e
movzx ax, byte [edi]
jmp 0x48e091
mov ax, word [edi]
cmp ax, 0x30
jl 0x48e0cc
cmp ax, 0x39
jg 0x48e0cc
mov byte [esp + 0x12], al
lea eax, [esp + 0x12]
push eax
call fcn.004f1ad0
dec ax
add esp, 4
cmp dword [0x50928c], 0
mov word [esp + esi*2 + 0x20], ax
jne 0x48e0c1
inc edi
jmp 0x48e0d6
push edi
call dword [sym.imp.USER32.dll_CharNextA]
mov edi, eax
jmp 0x48e0d6
mov ax, word [esp + 0x16]
mov word [esp + esi*2 + 0x20], ax
lea esi, [esp + esi*4 + 0x38]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esi], eax
test eax, eax
je 0x48e0f6
push eax
push edi
push ebp
call fcn.0048db30
add esp, 0xc
mov dword [esi], eax
jmp 0x48e0fb
dec word [esp + 0x14]
inc word [esp + 0x16]
cmp word [esp + 0x16], 3
jl 0x48e03e
mov eax, dword [esp + 0x78]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp word [esp + 0x88], 1
jne 0x48e14f
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x28]
sub ecx, dword [esp + 0x48]
inc ecx
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x48], eax
add eax, ecx
mov dword [esp + 0x50], eax
jmp 0x48e208
cmp word [esp + 0x88], 2
jne 0x48e208
mov ecx, 3
mov eax, dword [esp + 0x28]
cdq
idiv ecx
mov esi, eax
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x18]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov eax, dword [esp + 0x58]
add edi, esi
sub eax, dword [esp + 0x60]
cdq
sub eax, edx
sar eax, 1
lea edx, [eax + esi*2]
cmp edi, edx
jge 0x48e1d0
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x50]
cdq
sub eax, edx
sar eax, 1
add eax, esi
mov dword [esp + 0x48], eax
add eax, ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x50]
cdq
sub eax, edx
sar eax, 1
lea edx, [eax + esi*2]
mov eax, edx
mov dword [esp + 0x58], edx
jmp 0x48e202
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x50], eax
sub eax, ecx
mov ecx, dword [esp + 0x58]
add dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x58], eax
sub eax, ecx
add dword [esp + 0x60], eax
xor si, si
xor edi, edi
movsx ecx, si
cmp dword [esp + ecx*4 + 0x38], edi
je 0x48e23e
movsx edx, word [esp + ecx*2 + 0x20]
shl edx, 4
inc ecx
mov eax, dword [esp + edx + 0x54]
mov ebp, dword [esp + edx + 0x50]
lea edx, [esp + edx + 0x48]
push eax
push ebp
mov eax, dword [edx + 4]
push eax
mov edx, dword [edx]
push edx
push ecx
push ebx
call fcn.0048db50
add esp, 0x18
inc si
cmp si, 3
jl 0x48e20d
mov di, 1
xor si, si
xor ebp, ebp
movsx eax, si
cmp dword [esp + eax*4 + 0x38], ebp
je 0x48e26a
cmp word [esp + eax*2 + 0x20], di
jne 0x48e26a
inc eax
push eax
push ebx
call fcn.0048dbf0
add esp, 8
inc si
cmp si, 3
jl 0x48e24f
dec di
jns 0x48e24a
xor si, si
xor eax, eax
movsx ecx, si
cmp dword [esp + ecx*4 + 0x38], eax
jne 0x48e28c
inc si
cmp si, 3
jl 0x48e27b
test si, si
jle 0x48e2d7
cmp si, 3
jge 0x48e2d7
movsx eax, si
mov ax, word [esp + eax*2 + 0x20]
cmp ax, 2
jg 0x48e2d7
mov di, 3
sub di, ax
xor bp, bp
movsx eax, bp
cmp dword [esp + eax*4 + 0x38], 0
je 0x48e2cb
cmp word [esp + eax*2 + 0x20], si
jne 0x48e2cb
inc eax
push eax
push ebx
call fcn.0048dbf0
add esp, 8
inc bp
cmp bp, 3
jl 0x48e2af
dec di
jne 0x48e2ac
xor edx, edx
xor edi, edi
cmp dx, 3
jge 0x48e30f
movsx eax, dx
mov esi, dword [esp + eax*4 + 0x38]
test esi, esi
je 0x48e309
movsx eax, word [esp + eax*2 + 0x20]
shl eax, 4
mov ecx, dword [esp + eax + 0x50]
sub ecx, dword [esp + eax + 0x48]
sub ecx, esi
cmp ecx, dword [esp + 0x1c]
jge 0x48e309
mov edi, 1
inc dx
test edi, edi
je 0x48e2db
xor esi, esi
test edi, edi
je 0x48e431
xor ecx, ecx
mov edx, dword [esp + 0x44]
sub edx, dword [esp + 0x1c]
movsx eax, si
cmp si, word [esp + 0x88]
jge 0x48e33e
mov eax, dword [esp + eax*4 + 0x38]
cmp eax, edx
jg 0x48e33a
mov eax, edx
add ecx, eax
jmp 0x48e342
add ecx, dword [esp + eax*4 + 0x38]
inc si
cmp si, 3
jl 0x48e323
movsx edx, word [esp + 0x14]
mov eax, dword [esp + 0x1c]
imul edx, dword [esp + 0x18]
lea ebp, [eax + eax*2]
mov eax, dword [esp + 0x28]
add edx, ebp
add ecx, edx
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov esi, eax
test esi, esi
jge 0x48e3b1
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.004dd0b0
mov eax, dword [esp + 0x3c]
add esp, 8
lea ecx, [esi*2]
sub eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
sub eax, ecx
mov ecx, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
push eax
push ecx
mov eax, dword [esp + 0x34]
add eax, esi
xor esi, esi
push eax
push ebx
call fcn.0048db90
add esp, 0x14
xor di, di
add esi, dword [esp + 0x18]
cmp word [esp + 0x88], di
jle 0x48e431
xor dx, dx
xor eax, eax
movsx ecx, dx
cmp word [esp + ecx*2 + 0x20], di
jne 0x48e3d7
cmp dword [esp + ecx*4 + 0x38], eax
jne 0x48e3df
inc dx
cmp dx, 3
jl 0x48e3c7
cmp dx, 3
jge 0x48e425
movsx ecx, dx
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + ecx*4 + 0x38]
and ebp, 0xffff
add ebp, dword [esp + 0x1c]
cmp ebp, eax
jg 0x48e400
mov ebp, eax
movsx edx, di
shl edx, 4
mov eax, dword [esp + edx + 0x4c]
mov edx, dword [esp + edx + 0x54]
sub edx, eax
inc ecx
push edx
push ebp
push eax
push esi
push ecx
push ebx
call fcn.0048dbc0
add ebp, dword [esp + 0x30]
add esp, 0x18
add esi, ebp
inc di
cmp di, word [esp + 0x88]
jl 0x48e3c2
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x6c
ret