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

Disassembly:
push 0xffffffffffffffff
push 0x61ce28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x48], ebx
mov word [esp + 0x60], bx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov edi, dword [esi + 0xc]
lea eax, [esp + 0x48]
push eax
mov ecx, edi
mov dword [esp + 0x7c], ebx
call fcn.0045e0a0
mov edx, dword [esp + 0x50]
lea ecx, [edi + 8]
mov dword [esp + 0x78], 0xffffffff
mov dword [ecx], edx
mov eax, dword [esp + 0x54]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x58]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x5c]
mov dword [ecx + 0xc], eax
mov cx, word [esp + 0x60]
mov word [edi + 0x18], cx
mov edx, dword [esp + 0x64]
mov dword [edi + 0x1c], edx
mov eax, dword [esp + 0x68]
mov dword [edi + 0x20], eax
mov ecx, dword [esp + 0x6c]
mov dword [edi + 0x24], ecx
mov ecx, dword [esi]
mov edi, dword [esi + 0x3c]
add ecx, ecx
mov ebp, ecx
mov edx, 1
xor eax, eax
mov word [esi + 0x10], dx
shr ecx, 2
mov word [esi + 0x40], bx
rep stosd dword es:[edi], eax
mov ecx, ebp
lea ebp, [esi + 0x14]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x14], ebx
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x10], ebx
mov eax, dword [ebp + 0x10]
mov dword [eax + 0xc], ebx
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 8], edx
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 0x24]
mov edx, dword [esp + 0x88]
mov dword [eax + 0x10], eax
mov eax, dword [ebp + 0x24]
mov dword [eax + 0xc], eax
mov ecx, dword [ebp + 0x24]
mov dword [ecx + 8], ebx
mov ecx, dword [esp + 0x84]
mov eax, dword [edx]
cmp dword [ecx], eax
jne 0x45d9af
mov di, word [ecx + 4]
cmp di, word [edx + 4]
jne 0x45d9af
mov ecx, dword [esp + 0x8c]
mov dword [ecx], eax
mov dx, word [edx + 4]
mov eax, 1
mov word [ecx + 4], dx
mov word [esi + 0x40], ax
jmp 0x45e02d
push ecx
mov ecx, dword [esi + 0xc]
add ecx, 0x28
call fcn.0045e0a0
mov eax, dword [esi + 0xc]
mov dword [eax + 0x44], ebx
mov ecx, dword [esi + 0xc]
fld dword [esi + 8]
fmul dword [0x622c08]
fstp dword [ecx + 0x48]
mov eax, dword [esi + 0xc]
mov ecx, 0x8000
and word [eax + 0x40], cx
add eax, 0x28
mov eax, dword [esi + 0xc]
or word [eax + 0x40], cx
add eax, 0x28
inc word [esi + 0x10]
mov ax, word [esi + 0x10]
mov ecx, ebp
and eax, 0xffff
lea edx, [eax + eax*4]
mov eax, dword [esi + 0xc]
lea edi, [eax + edx*8 - 0x28]
push edi
mov dword [esp + 0x14], edi
call fcn.0045f760
mov dword [edi + 8], ebx
mov ecx, dword [ebp + 0x24]
cmp edi, dword [ecx + 0x14]
je 0x45dae7
mov eax, dword [edi + 0x14]
cmp dword [eax + 8], ebx
jne 0x45dae7
mov edx, dword [eax + 0x14]
mov ecx, dword [edx + 0xc]
cmp eax, ecx
jne 0x45da8a
mov ecx, dword [edx + 0x10]
cmp dword [ecx + 8], ebx
jne 0x45da58
mov edx, 1
mov dword [eax + 8], edx
mov dword [ecx + 8], edx
mov edx, dword [edi + 0x14]
mov eax, dword [edx + 0x14]
mov dword [eax + 8], ebx
mov ecx, dword [edi + 0x14]
mov edi, dword [ecx + 0x14]
jmp 0x45dadb
cmp edi, dword [eax + 0x10]
jne 0x45da67
mov edi, eax
mov ecx, ebp
push edi
call fcn.0045f7f0
mov edx, dword [edi + 0x14]
mov dword [edx + 8], 1
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + 0x14]
mov dword [ecx + 8], ebx
mov edx, dword [edi + 0x14]
mov ecx, ebp
mov eax, dword [edx + 0x14]
push eax
call fcn.0045f850
jmp 0x45dadb
cmp dword [ecx + 8], ebx
jne 0x45daab
mov edx, 1
mov dword [eax + 8], edx
mov dword [ecx + 8], edx
mov ecx, dword [edi + 0x14]
mov edx, dword [ecx + 0x14]
mov dword [edx + 8], ebx
mov eax, dword [edi + 0x14]
mov edi, dword [eax + 0x14]
jmp 0x45dadb
cmp edi, dword [eax + 0xc]
jne 0x45daba
mov edi, eax
mov ecx, ebp
push edi
call fcn.0045f850
mov ecx, dword [edi + 0x14]
mov dword [ecx + 8], 1
mov edx, dword [edi + 0x14]
mov eax, dword [edx + 0x14]
mov dword [eax + 8], ebx
mov ecx, dword [edi + 0x14]
mov edx, dword [ecx + 0x14]
mov ecx, ebp
push edx
call fcn.0045f7f0
mov eax, dword [ebp + 0x24]
cmp edi, dword [eax + 0x14]
jne 0x45da1b
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [edx + 8], 1
mov eax, dword [esi + 0xc]
xor edx, edx
mov dword [eax + 0x4c], ecx
mov eax, dword [esp + 0x84]
mov ecx, dword [esi + 0x3c]
mov dx, word [eax + 4]
mov word [ecx + edx*2], 1
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
cmp eax, ecx
je 0x45e02a
mov ecx, dword [esi + 0x38]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ecx + 0xc]
mov dword [esp + 0x84], ebx
mov edi, dword [ebx + 0xc]
cmp edi, eax
jne 0x45db60
mov edi, dword [ebx + 0x10]
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x14]
mov dword [edi + 0x14], ecx
mov eax, dword [ebp + 0x24]
cmp dword [eax + 0x14], ebx
jne 0x45dbe5
mov dword [eax + 0x14], edi
jmp 0x45dbf5
mov ecx, dword [ebx + 0x10]
cmp ecx, eax
je 0x45db3f
push ecx
mov ecx, ebp
call fcn.0045f8b0
mov edi, dword [eax + 0x10]
cmp eax, ebx
mov dword [esp + 0x84], eax
je 0x45db3f
mov edx, dword [ebx + 0xc]
mov dword [edx + 0x14], eax
mov ecx, dword [ebx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebx + 0x10]
cmp eax, ecx
jne 0x45db95
mov dword [edi + 0x14], eax
jmp 0x45dbad
mov edx, dword [eax + 0x14]
mov dword [edi + 0x14], edx
mov ecx, dword [eax + 0x14]
mov dword [ecx + 0xc], edi
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x10], edx
mov ecx, dword [ebx + 0x10]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp + 0x24]
cmp dword [ecx + 0x14], ebx
jne 0x45dbba
mov dword [ecx + 0x14], eax
jmp 0x45dbca
mov ecx, dword [ebx + 0x14]
cmp dword [ecx + 0xc], ebx
jne 0x45dbc7
mov dword [ecx + 0xc], eax
jmp 0x45dbca
mov dword [ecx + 0x10], eax
mov edx, dword [ebx + 0x14]
mov ecx, dword [eax + 8]
mov dword [eax + 0x14], edx
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
mov dword [ebx + 8], ecx
mov dword [esp + 0x84], ebx
jmp 0x45dc45
mov eax, dword [ebx + 0x14]
cmp dword [eax + 0xc], ebx
jne 0x45dbf2
mov dword [eax + 0xc], edi
jmp 0x45dbf5
mov dword [eax + 0x10], edi
mov eax, dword [ebp + 0x24]
cmp dword [eax + 0xc], ebx
jne 0x45dc1d
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebp + 0x10]
cmp edx, ecx
jne 0x45dc0f
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0xc], ecx
jmp 0x45dc1d
push edi
mov ecx, ebp
call fcn.0045f8b0
mov edx, dword [ebp + 0x24]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 0x24]
cmp dword [eax + 0x10], ebx
jne 0x45dc45
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp + 0x10]
cmp ecx, edx
jne 0x45dc37
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x10], edx
jmp 0x45dc45
push edi
mov ecx, ebp
call fcn.0045f8d0
mov ecx, dword [ebp + 0x24]
mov dword [ecx + 0x10], eax
mov edx, dword [esp + 0x84]
mov ecx, 1
cmp dword [edx + 8], ecx
jne 0x45ddad
mov eax, dword [ebp + 0x24]
cmp edi, dword [eax + 0x14]
je 0x45ddaa
cmp dword [edi + 8], ecx
jne 0x45ddaa
mov edx, dword [edi + 0x14]
mov eax, dword [edx + 0xc]
cmp edi, eax
jne 0x45dd0b
mov eax, dword [edx + 0x10]
mov edx, dword [eax + 8]
test edx, edx
jne 0x45dcaa
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x14]
mov dword [ecx + 8], 0
mov edx, dword [edi + 0x14]
push edx
mov ecx, ebp
call fcn.0045f7f0
mov eax, dword [edi + 0x14]
mov ecx, 1
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [edx + 8], ecx
jne 0x45dcbe
mov edx, dword [eax + 0x10]
cmp dword [edx + 8], ecx
je 0x45dd45
mov edx, dword [eax + 0x10]
cmp dword [edx + 8], ecx
jne 0x45dce6
mov edx, dword [eax + 0xc]
push eax
mov dword [edx + 8], ecx
mov ecx, ebp
mov dword [eax + 8], 0
call fcn.0045f850
mov eax, dword [edi + 0x14]
mov ecx, 1
mov eax, dword [eax + 0x10]
mov edx, dword [edi + 0x14]
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
mov edx, dword [edi + 0x14]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x14]
push ecx
mov ecx, ebp
call fcn.0045f7f0
jmp 0x45dda5
mov edx, dword [eax + 8]
test edx, edx
jne 0x45dd35
mov dword [eax + 8], ecx
mov eax, dword [edi + 0x14]
mov dword [eax + 8], 0
mov ecx, dword [edi + 0x14]
push ecx
mov ecx, ebp
call fcn.0045f850
mov edx, dword [edi + 0x14]
mov ecx, 1
mov eax, dword [edx + 0xc]
mov edx, dword [eax + 0x10]
cmp dword [edx + 8], ecx
jne 0x45dd5d
mov edx, dword [eax + 0xc]
cmp dword [edx + 8], ecx
jne 0x45dd5d
mov dword [eax + 8], 0
mov eax, dword [ebp + 0x24]
mov edi, dword [edi + 0x14]
cmp edi, dword [eax + 0x14]
jne 0x45dc66
jmp 0x45ddaa
mov edx, dword [eax + 0xc]
cmp dword [edx + 8], ecx
jne 0x45dd85
mov edx, dword [eax + 0x10]
push eax
mov dword [edx + 8], ecx
mov ecx, ebp
mov dword [eax + 8], 0
call fcn.0045f7f0
mov eax, dword [edi + 0x14]
mov ecx, 1
mov eax, dword [eax + 0xc]
mov edx, dword [edi + 0x14]
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
mov edx, dword [edi + 0x14]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x14]
push ecx
mov ecx, ebp
call fcn.0045f850
mov ecx, 1
mov dword [edi + 8], ecx
mov edx, dword [esp + 0x88]
and byte [ebx + 0x19], 0x7f
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
cmp eax, dword [edx]
jne 0x45ddcb
cmp cx, word [edx + 4]
je 0x45e042
mov edx, dword [ebx]
xor ecx, ecx
mov cx, word [esi + 0x10]
mov ax, word [edx + 0x30]
xor edx, edx
mov dx, word [esi + 4]
and eax, 0xffff
add ecx, eax
mov dword [esp + 0x24], eax
cmp ecx, edx
jg 0x45e06e
test eax, eax
mov dword [esp + 0x10], 0
jle 0x45e019
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x28]
mov dword [esp + 0x34], ecx
push edx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0
call fcn.0045e0c0
test al, al
je 0x45e004
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x88]
push edx
call fcn.0045e100
test al, al
je 0x45e004
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0x88]
call fcn.0045e0f0
fld dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x3c]
fadd dword [0x622c44]
and edx, 0xffff
mov ax, word [eax + edx*2]
fstp dword [esp + 0x84]
test ax, ax
je 0x45df5c
mov ecx, dword [esi + 0xc]
and eax, 0xffff
lea edi, [eax + eax*4]
shl edi, 3
fld dword [edi + ecx + 0x1c]
lea ecx, [edi + ecx + 0x1c]
fcomp dword [esp + 0x84]
fnstsw ax
and eax, 0x4100
jne 0x45e004
mov edx, dword [esp + 0x84]
mov dword [ecx], edx
mov eax, dword [esi + 0xc]
fld dword [esi + 8]
fmul dword [0x622c08]
fadd dword [esp + 0x84]
fstp dword [edi + eax + 0x20]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov edx, dword [esi + 0x3c]
and eax, 0xffff
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0xc]
mov ax, word [edx + eax*2]
add ecx, edi
push eax
call fcn.0045ea50
mov ecx, dword [esi + 0xc]
lea eax, [edi + ecx]
mov ecx, 0x8000
test word [eax + 0x18], cx
je 0x45df30
mov edx, dword [eax + 0x24]
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
mov dword [esp + 0x18], edx
call fcn.0045ed20
jmp 0x45df34
or word [eax + 0x18], cx
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x84]
add ecx, edi
push edx
mov dword [esp + 0x88], ecx
mov ecx, ebp
call fcn.0045eb00
mov eax, dword [esi + 0xc]
add eax, edi
mov dword [eax + 0x24], eax
jmp 0x45e004
mov ax, word [esi + 0x10]
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], eax
and eax, 0xffff
push ecx
mov ecx, dword [esi + 0xc]
lea edi, [eax + eax*4]
shl edi, 3
add ecx, edi
call fcn.0045e0a0
mov edx, dword [esi + 0xc]
fld dword [esp + 0x84]
fstp dword [edi + edx + 0x1c]
fld dword [esi + 8]
mov eax, dword [esi + 0xc]
fmul dword [0x622c08]
fadd dword [esp + 0x84]
fstp dword [edi + eax + 0x20]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov edx, dword [esi + 0x3c]
and eax, 0xffff
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0xc]
mov ax, word [edx + eax*2]
add ecx, edi
push eax
call fcn.0045ea50
mov eax, dword [esi + 0xc]
or byte [eax + edi + 0x19], 0x80
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x3c]
add eax, edi
and ecx, 0xffff
mov ax, word [esp + 0x18]
mov word [edx + ecx*2], ax
mov ecx, dword [esi + 0xc]
add ecx, edi
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ecx
push edx
mov ecx, ebp
call fcn.0045eb00
mov eax, dword [esi + 0xc]
add edi, eax
mov dword [edi + 0x24], edi
inc word [esi + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x45de00
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x10]
mov edx, dword [ecx + 0x14]
cmp edx, eax
jne 0x45db25
xor ax, ax
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 0x10
mov eax, dword [ebx]
mov ebx, dword [ebx + 4]
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x8c]
and ebx, 0xffff
mov dword [esp + 0x40], eax
push ecx
mov ecx, esi
mov ax, word [edx + ebx*2]
push eax
call fcn.0045eab0
mov ax, word [esi + 0x40]
jmp 0x45e02d
mov ecx, dword [ebx]
mov ebx, dword [ebx + 4]
mov eax, dword [esi + 0x3c]
mov edx, dword [esp + 0x8c]
and ebx, 0xffff
mov dword [esp + 0x40], ecx
push edx
mov cx, word [eax + ebx*2]
push ecx
mov ecx, esi
call fcn.0045eab0
mov ax, word [esi + 0x40]
neg eax
jmp 0x45e02d