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

Disassembly:
mov eax, 0x2738
call fcn.004d2ec0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
xor eax, eax
mov ecx, dword [esi + 0x48]
cmp ecx, ebx
je 0x480dc8
push ebp
push edi
push 0xfffffffffffffff0
push ecx
call dword [0x4db724]
mov edi, dword [0x6db134]
mov edx, dword [esi + 4]
mov dword [esp + 0x10], eax
xor eax, eax
cmp edi, ebx
mov edi, dword [0x4db650]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], ebx
sete al
push ecx
push edx
mov dword [esi + 0x50], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call edi
mov ecx, dword [esi + 0x48]
lea eax, [esp + 0x20]
push eax
push ecx
call edi
mov eax, dword [esi + 0x64]
mov edi, dword [0x4db09c]
mov ebp, dword [0x4db670]
cmp eax, ebx
jne 0x4808a7
push 1
push ebx
push 0x20
push 0x10
push 0x10
call edi
mov edx, dword [esi + 0x48]
push eax
push 1
push 0x1003
push edx
mov dword [esi + 0x64], eax
call ebp
cmp dword [esi + 0x68], ebx
je 0x4808c6
mov eax, dword [esi + 0x48]
push ebx
push ebx
push 0x1003
push eax
call ebp
mov ecx, dword [esi + 0x68]
push ecx
call dword [0x4db0a0]
mov dword [esi + 0x68], ebx
mov eax, dword [esi + 0x50]
cmp eax, ebx
mov eax, dword [esp + 0x10]
je 0x4808e5
mov edx, dword [esi + 0x48]
or al, 1
push eax
push 0xfffffffffffffff0
push edx
call dword [0x4db684]
jmp 0x4809f4
test al, 1
je 0x4808ec
xor eax, 1
push eax
mov eax, dword [esi + 0x48]
push 0xfffffffffffffff0
push eax
call dword [0x4db684]
mov ecx, dword [0x6db134]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x40]
fild qword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
sub edx, eax
sub ecx, 0x14
fmul qword [0x4dbda0]
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], ecx
fsubr qword [0x4dcc80]
fmul qword [0x4dcc78]
fadd qword [0x4dcc70]
fmul qword [0x4dcc68]
fst qword [esi + 0x40]
fild dword [esp + 0x10]
fdiv st(1)
call fcn.004d2f3a
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x44]
sub eax, ecx
fstp st(0)
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fdiv qword [esi + 0x40]
call fcn.004d2f3a
mov dword [esi + 0x3c], eax
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
push 1
add ecx, 0x22
push ebx
add eax, 0x14
push 0x20
push ecx
push eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], ecx
call edi
mov ecx, dword [esi + 0x48]
push eax
push ebx
push 0x1003
push ecx
mov dword [esi + 0x68], eax
call ebp
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov ecx, dword [esi + 0xb0]
sub eax, edi
cdq
idiv ecx
mov edx, ecx
mov edi, eax
mov eax, dword [esp + 0x28]
imul edx, edi
sub eax, edx
mov edx, dword [esp + 0x20]
sub eax, edx
cdq
idiv edi
add eax, ecx
mov ecx, dword [esi + 0xb4]
add ecx, 0x14
and eax, 0xffff
and ecx, 0xffff
shl ecx, 0x10
or eax, ecx
push eax
push ebx
push 0x1035
mov edx, dword [esi + 0x48]
push edx
call ebp
mov eax, dword [esp + 0x274c]
mov dword [esp + 0x18], ebx
cmp eax, ebx
mov dword [esp + 0x14], ebx
je 0x480d5a
mov ax, word [0x4ffd80]
mov ecx, 0x81
mov word [esp + 0x90], ax
xor eax, eax
lea edi, [esp + 0x92]
lea edx, [esp + 0x90]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x48]
push 0x104
rep stosd dword es:[edi], eax
mov eax, dword [0x6deea8]
push edx
lea ecx, [esp + 0x98]
push 0x169
push eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ecx
call dword [0x4db688]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
sub ecx, eax
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul qword [0x4dcc60]
call fcn.004d2f3a
lea edx, [esp + 0x90]
mov dword [esp + 0x50], eax
push edx
call dword [0x4db410]
mov ecx, dword [esi + 0x48]
add esp, 4
mov dword [esp + 0x58], eax
lea eax, [esp + 0x48]
push eax
push ebx
push 0x1061
push ecx
call ebp
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x90]
lea edx, [esp + 0x90]
rep stosd dword es:[edi], eax
mov eax, dword [0x6deea8]
push 0x104
push edx
push 0x16a
push eax
call dword [0x4db688]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
sub ecx, eax
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul qword [0x4dcc58]
call fcn.004d2f3a
lea edx, [esp + 0x90]
mov dword [esp + 0x50], eax
push edx
call dword [0x4db410]
mov ecx, dword [esi + 0x48]
add esp, 4
mov dword [esp + 0x58], eax
lea eax, [esp + 0x48]
push eax
push 1
push 0x1061
push ecx
call ebp
mov dx, word [0x4ffd80]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x29a]
mov word [esp + 0x298], dx
mov word [esp + 0x4a0], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x4a2]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x84]
add ecx, 0x54
stosw word es:[edi], ax
call fcn.004cae00
mov ecx, dword [esi + 0x84]
mov edi, eax
add ecx, 0x54
mov dword [esp + 0x30], edi
call fcn.004cbf30
mov edx, dword [esi + 0x48]
push ebx
push ebx
push 0x101f
push edx
mov dword [esi + 0xc4], eax
call ebp
mov dword [esi + 0x4c], eax
xor eax, eax
cmp edi, eax
jle 0x480dc1
mov dword [esp + 0x10], eax
jmp 0x480baf
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov ecx, 0x412
xor eax, eax
lea edi, [esp + 0x4a0]
rep stosd dword es:[edi], eax
mov ecx, 0xa
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x298]
rep stosd dword es:[edi], eax
mov ecx, 0x498
lea edi, [esp + 0x14e8]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esi + 0x84]
push ebx
add ecx, 0x54
call fcn.004cae70
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x480d2d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x480d2d
lea ecx, [esi + 0xc8]
lea edx, [esp + 0x14e8]
mov dword [esp + 0x88], eax
push edx
mov eax, dword [ecx + 8]
push 1
push eax
mov dword [esp + 0x74], 6
mov dword [esp + 0x78], ebx
mov dword [esp + 0x90], ebx
call fcn.00481770
mov edx, dword [esi + 0x48]
lea ecx, [esp + 0x68]
push ecx
push 0
push 0x104d
push edx
call ebp
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x4a0]
push 0
push eax
call fcn.0049f4c0
lea ecx, [esp + 0x298]
push 0x104
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0049f7e0
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0xcc]
push ebx
add ecx, 0x54
mov dword [esp + 0x20], edx
call fcn.004ca810
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push ebx
mov dword [edi + ecx], eax
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0xcc]
add ecx, 0x54
mov dword [esp + 0x20], edx
call fcn.004ca0a0
mov ecx, dword [esp + 0x1c]
mov dword [edi + ecx + 8], eax
mov eax, dword [esi + 0xcc]
mov ecx, dword [esi + 0x84]
mov edx, dword [edi + eax]
push edx
call fcn.00463c40
mov edx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x4a4]
lea ecx, [esp + 0x29c]
push eax
mov eax, dword [esp + 0x74]
push ecx
push 0
push edx
push eax
mov ecx, esi
call fcn.00481330
push 0
push ebx
mov ecx, esi
call fcn.004814e0
mov ecx, dword [esp + 0x14]
push 0
push ebx
push 0x9421
mov edx, dword [ecx + 4]
push edx
call dword [0x4db630]
jmp 0x480d31
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
inc ebx
add edi, 0x1260
cmp ebx, eax
mov dword [esp + 0x10], edi
jl 0x480bad
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
add esp, 0x2738
ret 4
mov eax, dword [esi + 0x48]
push ebx
push ebx
push 0x1004
push eax
call ebp
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x30], eax
jle 0x480dc1
mov ebp, dword [0x4db630]
cmp dword [esi + 0x50], ebx
jne 0x480db8
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x84]
push edx
push edi
add ecx, 0x54
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call fcn.004cae70
cmp dword [esp + 0x18], ebx
jne 0x480db8
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x480db8
mov eax, dword [eax + 4]
push ebx
push edi
push 0x9421
push eax
call ebp
mov eax, dword [esp + 0x30]
inc edi
cmp edi, eax
jl 0x480d77
pop edi
mov eax, 1
pop ebp
pop esi
pop ebx
add esp, 0x2738
ret 4