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

Disassembly:
sub esp, 0x44
push esi
mov esi, dword [esp + 0x4c]
test esi, esi
push edi
mov edi, dword [esp + 0x54]
movsx eax, word [edi]
movsx ecx, word [edi + 2]
mov dword [esp + 0x54], eax
mov al, 0x20
fild dword [esp + 0x54]
mov dl, 0xff
mov dword [esp + 0x54], ecx
mov cl, 0x40
fstp dword [esp + 0x2c]
mov dword [esp + 0x34], 0x43230000
fild dword [esp + 0x54]
mov dword [esp + 0x38], 0x437c0000
mov byte [esp + 8], al
mov byte [esp + 9], al
fstp dword [esp + 0x30]
mov byte [esp + 0xa], 0x50
mov byte [esp + 0xb], dl
mov byte [esp + 0xc], 0xf0
mov byte [esp + 0xd], 0xc0
mov byte [esp + 0xe], al
mov byte [esp + 0xf], dl
mov byte [esp + 0x3c], cl
mov byte [esp + 0x3d], cl
mov byte [esp + 0x3e], cl
mov byte [esp + 0x3f], dl
mov byte [esp + 0x40], al
mov byte [esp + 0x41], al
mov byte [esp + 0x42], al
mov byte [esp + 0x43], dl
mov byte [esp + 0x44], cl
mov byte [esp + 0x45], cl
mov byte [esp + 0x46], cl
mov byte [esp + 0x47], dl
mov byte [esp + 0x48], al
mov byte [esp + 0x49], al
mov byte [esp + 0x4a], al
mov byte [esp + 0x4b], dl
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
je 0x7d8a48
push ebx
push ebp
push esi
call fcn.007d8050
mov dl, byte [esp + 0x64]
mov byte [esi], dl
mov eax, dword [edi]
mov dword [esi + 2], eax
mov ecx, dword [edi]
mov dword [esi + 6], ecx
call fcn.0045cce0
mov edx, dword [esp + 0x68]
mov edi, eax
push edx
push edi
mov dword [esp + 0x2c], edi
mov dword [esi + 0x10], edi
call fcn.00460520
push 0
lea eax, [esp + 0x44]
push eax
push edi
call fcn.004602c0
push 1
push edi
call fcn.00460450
push edi
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
call fcn.0085cf30
push 0
lea ecx, [esp + 0x5c]
mov ebp, eax
push ecx
push ebp
mov dword [esp + 0x54], ebp
call fcn.004602c0
push 1
push ebp
call fcn.00460450
push ebp
mov dword [esp + 0x7c], 0x41c80000
call fcn.0085d050
mov edi, eax
push 1
push edi
call fcn.00460450
add esp, 0x44
lea edx, [esp + 0x10]
push edx
push 3
push 2
push 0
lea eax, [esp + 0x44]
push eax
push 0
push edi
call fcn.007dff40
lea ecx, [esp + 0x60]
push ecx
push 3
push 2
push 1
lea edx, [esp + 0x60]
push edx
push 0
push edi
mov dword [esp + 0x70], 0x41c80000
mov dword [esp + 0x78], 0x43630000
call fcn.007dff40
push edi
mov dword [esp + 0x70], 0x40000000
mov dword [esp + 0x74], 0x41e00000
mov dword [esp + 0x78], 0x431f0000
mov dword [esp + 0x7c], 0x41880000
call fcn.0085cfb0
mov edi, eax
lea eax, [esp + 0x70]
push eax
mov dword [esi + 0x3c], edi
push edi
call fcn.004655b0
add esp, 0x44
push 1
push edi
call fcn.004654b0
lea ecx, [esp + 0x60]
push ecx
call fcn.0046b340
mov eax, dword [esi + 0x3c]
lea edx, [esp + 0x64]
push edx
push eax
call fcn.00465950
push ebp
call fcn.0085d050
mov ebx, eax
push 1
push ebx
call fcn.00460450
push 1
push ebx
call fcn.0085d040
mov ecx, dword [0xedabb8]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx]
push eax
push 0x11
push 0
push 0x16
call fcn.0085cae0
mov edi, eax
push ebx
mov dword [esi + 0x28], edi
call fcn.0085cfb0
mov ebx, eax
push 1
push ebx
call fcn.004654b0
movzx ecx, word [edi + 0x14]
mov eax, 0xa3
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x9c], eax
mov dword [esp + 0x7c], 0x40c00000
fild dword [esp + 0x9c]
add esp, 0x44
lea ecx, [esp + 0x34]
push ecx
fstp dword [esp + 0x38]
movzx edx, word [edi + 0x14]
mov dword [esp + 0x5c], edx
push ebx
fild dword [esp + 0x60]
fstp dword [esp + 0x44]
movzx eax, word [edi + 0x16]
mov dword [esp + 0x60], eax
fild dword [esp + 0x60]
fstp dword [esp + 0x48]
call fcn.004655b0
mov edx, dword [edi + 0xc]
push edx
push ebx
call fcn.00465f10
add edi, 0x1c
push edi
push ebx
call fcn.00465a20
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.00465950
push ebp
call fcn.0085d050
mov edi, eax
push 1
mov dword [esp + 0x40], edi
push edi
call fcn.00460450
push 1
push edi
call fcn.0085d040
mov edi, 0xffffff90
add esp, 0x34
sub edi, esi
mov byte [esp + 0x5d], 0x3a
mov byte [esp + 0x5e], 0
mov dword [esp + 0x58], 0
lea ebx, [esi + 0x78]
mov dword [esp + 0x1c], edi
jmp 0x7d8680
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
lea esp, [esp]
mov cl, byte [esp + 0x58]
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x30]
push eax
add cl, 0x41
push 0x15
push ebp
mov dword [esp + 0x44], 0x40000000
mov dword [esp + 0x48], 0x42d00000
mov dword [esp + 0x4c], 0x42700000
mov dword [esp + 0x50], 0x41900000
mov byte [esp + 0x6c], cl
call fcn.004629a0
mov ebp, eax
push 0
push ebp
mov dword [ebx - 0x18], ebp
call fcn.00460450
push 0
lea ecx, [esp + 0x50]
push ecx
push ebp
call fcn.004602c0
mov edx, dword [0xedabb8]
mov eax, dword [edx + 0x4c]
add eax, edi
mov ecx, dword [eax + ebx]
push ecx
push 0x11
push 0
push 0x15
call fcn.0085cae0
mov edx, dword [esp + 0x4c]
mov edi, eax
push edx
mov dword [ebx], edi
call fcn.0085cfb0
mov ebp, eax
push 0
push ebp
mov dword [ebx - 0xc], ebp
call fcn.004654b0
mov dword [esp + 0x74], 0x41c00000
mov dword [esp + 0x78], 0x42d00000
movzx eax, word [edi + 0x14]
mov dword [esp + 0x68], eax
add esp, 0x40
lea edx, [esp + 0x34]
fild dword [esp + 0x28]
push edx
push ebp
fstp dword [esp + 0x44]
movzx ecx, word [edi + 0x16]
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fstp dword [esp + 0x48]
call fcn.004655b0
mov eax, dword [edi + 0xc]
push eax
push ebp
call fcn.00465f10
add edi, 0x1c
push edi
push ebp
call fcn.00465a20
mov eax, dword [esp + 0x70]
add esp, 0x18
inc eax
add ebx, 4
cmp eax, 3
mov dword [esp + 0x58], eax
jl 0x7d8674
mov al, byte [esp + 0x60]
test al, al
mov dword [esp + 0x40], 0x42880000
mov dword [esp + 0x3c], 0x42fe0000
mov dword [esp + 0x38], 0x41e00000
je 0x7d87a8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x34], 0x42080000
jmp 0x7d87b8
mov dword [esp + 0x1c], 2
mov dword [esp + 0x34], 0x40000000
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0085cf30
push 0
lea edx, [esp + 0x3c]
mov edi, eax
push edx
push edi
call fcn.004602c0
push 1
push edi
call fcn.00460450
push edi
call fcn.0085d050
mov ebp, eax
push 1
push ebp
mov dword [esp + 0x3c], ebp
call fcn.00460450
push 1
push ebp
call fcn.0085d040
mov eax, 0xffffffd4
add esp, 0x2c
sub eax, esi
mov dword [esp + 0x58], 1
lea ebx, [esi + 0x2c]
mov dword [esp + 0x28], eax
jmp 0x7d8820
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x18]
jmp 0x7d8820
mov ecx, dword [0xedabb8]
mov edx, dword [ecx + 0x18]
add edx, eax
mov eax, dword [edx + ebx + 4]
push eax
push 0x11
push 0x7d
push 0x16
call fcn.007df8e0
mov edi, eax
push ebp
mov dword [ebx - 0x14], edi
call fcn.0085cfb0
mov ebp, eax
push 1
push ebp
mov dword [ebx], ebp
call fcn.004654b0
fild dword [esp + 0x74]
mov dword [esp + 0x50], 0
add esp, 0x1c
fstp dword [esp + 0x38]
movzx ecx, word [edi + 0x14]
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
fstp dword [esp + 0x3c]
movzx edx, word [edi + 0x16]
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fstp dword [esp + 0x40]
fld dword [esp + 0x3c]
fcomp dword [0x8d5884]
fnstsw ax
test ah, 1
jne 0x7d889e
mov dword [esp + 0x3c], 0x42fa0000
cmp dword [esp + 0x1c], 2
jne 0x7d88b3
fld dword [0x8cb944]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x34]
lea eax, [esp + 0x34]
push eax
push ebp
call fcn.004655b0
mov ecx, dword [edi + 0xc]
push ecx
push ebp
call fcn.00465f10
add edi, 0x1c
push edi
push ebp
call fcn.00465a20
mov eax, dword [esp + 0x70]
add eax, 0x11
add esp, 0x18
add ebx, 4
cmp eax, 0x45
mov dword [esp + 0x58], eax
jl 0x7d8810
mov bl, byte [esp + 0x60]
test bl, bl
mov dword [esp + 0x40], 0x42880000
mov dword [esp + 0x3c], 0x42000000
mov dword [esp + 0x38], 0x41e00000
mov dword [esp + 0x34], 0x40000000
jne 0x7d891c
mov dword [esp + 0x34], 0x43010000
mov ebp, dword [esp + 0x20]
push ebp
call fcn.0085cf30
push 0
lea edx, [esp + 0x3c]
mov edi, eax
push edx
push edi
mov dword [esi + 0x14], edi
call fcn.004602c0
push 1
push edi
call fcn.00460450
push ebp
call fcn.0085cf30
mov edi, eax
push 0
lea eax, [esp + 0x54]
push eax
push edi
call fcn.004602c0
push 1
push edi
call fcn.00460450
add esp, 0x30
xor edi, edi
lea ebp, [esi + 0x44]
test bl, bl
movsx ecx, word [esi + 2]
movsx edx, word [esi + 4]
mov dword [esp + 0x58], ecx
lea eax, [edx + edi + 0x1c]
fild dword [esp + 0x58]
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], 0x41900000
fild dword [esp + 0x58]
mov dword [esp + 0x40], 0x41900000
fstp dword [esp + 0x38]
je 0x7d89a1
fadd dword [0x870780]
jmp 0x7d89a7
fadd dword [0x8d5890]
lea ecx, [esp + 0x34]
fstp dword [esp + 0x34]
push ecx
push 0
call fcn.0046af60
push 0
push eax
mov dword [ebp - 4], eax
call fcn.00463a70
movsx edx, word [esi + 2]
movsx eax, word [esi + 4]
add edx, 0x10
mov dword [esp + 0x68], edx
lea ecx, [eax + edi + 0x1c]
fild dword [esp + 0x68]
mov dword [esp + 0x68], ecx
add esp, 0x10
test bl, bl
fild dword [esp + 0x58]
mov dword [esp + 0x3c], 0x41900000
mov dword [esp + 0x40], 0x41900000
fstp dword [esp + 0x38]
je 0x7d8a04
fadd dword [0x870780]
jmp 0x7d8a0a
fadd dword [0x8d5890]
lea edx, [esp + 0x34]
fstp dword [esp + 0x34]
push edx
push 1
call fcn.0046af60
push 0
push eax
mov dword [ebp], eax
call fcn.00463a70
add edi, 0x11
add esp, 0x10
add ebp, 8
cmp edi, 0x44
jl 0x7d8965
xor eax, eax
mov al, byte [esi + 0xa]
push eax
push esi
call fcn.007d8230
add esp, 8
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x44
ret