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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x6681fb
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov esi, dword [ebp + 0xc]
test si, si
jge 0x480ff3
movsx eax, si
push eax
add ecx, 0xc
push ecx
mov ecx, dword [0x8a3ae4]
mov edx, dword [ecx + 8]
push str.__s_addText_bad_len__d_n
push edx
call fcn.00437100
add esp, 0x10
mov dword [ebp + 8], 0x6fe608
mov esi, 1
mov edx, dword [ebp + 8]
movsx ecx, si
xor bl, bl
mov byte [esp + 0x1b], 0
test ecx, ecx
je 0x48103c
movsx eax, byte [edx]
add eax, 0xfffffff6
dec ecx
cmp eax, 0x68
ja case.0x481017.11
movzx eax, byte [eax + 0x481334]
jmp dword [eax*4 + 0x481324]
xor bl, bl
jmp 0x481037
mov bl, 1
jmp 0x481037
test bl, bl
jne 0x48102f
mov byte [esp + 0x1b], 1
xor bl, bl
cmp byte [esp + 0x1b], bl
jne case.0x481017.11
inc edx
test ecx, ecx
jne 0x481004
mov edx, dword [0x8a3ae4]
mov eax, dword [edx + 8]
push str.___dropping_text_block__white__n
push eax
call fcn.00437100
add esp, 8
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0x54
call fcn.0063f278
add esp, 4
mov dword [esp + 0x20], eax
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x80], 0
test eax, eax
je 0x4810bd
mov ecx, dword [ebp + 0x24]
movzx edx, word [edi + 0xc]
push ecx
mov ecx, dword [0x8a3ae4]
mov ecx, dword [ecx + 8]
push ecx
mov cx, dx
shr cx, 8
shl edx, 8
or cx, dx
movzx edx, cx
mov ecx, dword [ebp + 8]
push edx
push esi
push ecx
mov ecx, eax
call fcn.0047ff00
mov esi, eax
jmp 0x4810bf
xor esi, esi
mov dword [esp + 0x80], 0xffffffff
test esi, esi
je 0x48130a
cmp byte [ebp + 0x20], 0
je 0x48111f
push 0x6ee2cc
lea ebx, [esi + 4]
push 0x708544
mov ecx, ebx
call fcn.00433530
push 0x6fed90
push 0x6fed8c
mov ecx, ebx
call fcn.00433530
push 0x72f56c
push 0x72f568
mov ecx, ebx
call fcn.00433530
push 0x72f564
push 0x72f560
mov ecx, ebx
call fcn.00433530
mov ecx, dword [esp + 0x1c]
push esi
add ecx, 0x5c
call fcn.0043c250
movzx eax, word [edi + 0x10]
mov dx, ax
shl eax, 8
shr dx, 8
or dx, ax
mov word [esi + 0x1a], dx
mov al, byte [edi + 0xe]
xor ecx, ecx
mov word [esi + 0x1c], cx
test al, 1
je 0x481157
mov edx, 1
mov word [esi + 0x1c], dx
test al, 2
je 0x481160
or word [esi + 0x1c], 2
movzx ecx, word [edi + 0x1c]
mov ax, cx
shr ax, 8
shl ecx, 8
cwde
movsx ecx, cx
or eax, ecx
cmp eax, 0xfffffffe
je 0x481194
cmp eax, 0xffffffff
je 0x481189
cmp eax, 1
jne 0x481194
mov word [esi + 0x1e], ax
jmp 0x48119d
mov ecx, 3
mov word [esi + 0x1e], cx
jmp 0x48119d
mov edx, 2
mov word [esi + 0x1e], dx
mov eax, dword [ebp + 0x18]
mov cx, ax
shl eax, 8
shr cx, 8
or cx, ax
mov eax, dword [ebp + 0x1a]
mov dx, ax
shl eax, 8
shr dx, 8
or dx, ax
mov eax, dword [ebp + 0x1c]
mov di, ax
shl eax, 8
shr di, 8
or di, ax
mov eax, dword [ebp + 0x1e]
mov bx, ax
shl eax, 8
shr bx, 8
or bx, ax
movzx edx, dx
movzx ebx, bx
movsx eax, dx
movsx edx, bx
movzx ecx, cx
movzx edi, di
sub edx, eax
mov dword [esi + 0x44], eax
movsx ecx, cx
movsx eax, di
sub eax, ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], eax
mov dword [esp + 0x1c], 4
lea ecx, [ecx]
mov eax, dword [ebp + 0x14]
fld qword [0x6fd778]
mov cx, word [eax]
mov edx, 0xff
and cx, dx
movzx ecx, cx
mov dword [esp + 0x20], ecx
mov dx, word [eax + 2]
fild dword [esp + 0x20]
mov ecx, 0xff
and dx, cx
movzx edx, dx
fdiv st(1)
mov dword [esp + 0x20], edx
mov ax, word [eax + 4]
and ax, cx
movzx edx, ax
xor edi, edi
lea ebx, [esi + 0x24]
fstp qword [esp + 0x24]
fild dword [esp + 0x20]
mov dword [esp + 0x20], edx
fdiv st(1)
fstp qword [esp + 0x2c]
fild dword [esp + 0x20]
fdivrp st(1)
fstp qword [esp + 0x34]
fld1
fstp qword [esp + 0x3c]
fld qword [esp + edi*8 + 0x24]
sub esp, 8
fstp qword [esp]
call fcn.0043d640
mov dword [ebx], eax
mov dword [ebx + 4], edx
inc edi
add esp, 8
add ebx, 8
cmp edi, 4
jl 0x481275
sub dword [esp + 0x1c], 1
jne 0x481210
mov ecx, dword [ebp + 0x10]
movzx eax, word [ecx + 0x22]
mov dx, ax
shr dx, 8
shl eax, 8
or dx, ax
movzx eax, dx
mov edx, 0x100
cmp ax, dx
jne 0x4812c5
xor eax, eax
jmp 0x4812da
lea edx, [eax - 0x321]
mov edi, 0x18e
cmp dx, di
ja 0x4812da
sub eax, 0x3e8
mov word [esi + 0x20], ax
movzx eax, word [ecx + 0x28]
mov cx, ax
shl eax, 8
shr cx, 8
or cx, ax
mov word [esi + 0x22], cx
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20