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

Disassembly:
mov al, byte [0x620cf4]
sub esp, 0x140
test al, al
mov eax, dword [0x620cd4]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
jne 0x5138f9
mov ecx, dword [eax]
push 0
push 7
push eax
call dword [ecx + 0xc8]
jmp 0x513906
mov edx, dword [eax]
push 1
push 7
push eax
call dword [edx + 0xc8]
mov al, byte [0x620cf4]
test al, al
mov eax, dword [0x620cd4]
jne 0x513923
mov ecx, dword [eax]
push 0
push 0xe
push eax
call dword [ecx + 0xc8]
jmp 0x513930
mov edx, dword [eax]
push 1
push 0xe
push eax
call dword [edx + 0xc8]
mov eax, dword [0x620cd4]
push 1
push 0x16
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x620cd4]
push 1
push 0x1b
push eax
mov edx, dword [eax]
call dword [edx + 0xc8]
mov eax, dword [0x620cd4]
push 5
push 0x13
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x620cd4]
push 6
push 0x14
push eax
mov edx, dword [eax]
call dword [edx + 0xc8]
mov al, byte [0x620ce8]
mov byte [0x620f08], 0
test al, al
mov eax, dword [0x620cd4]
jne 0x51399f
mov ecx, dword [eax]
push 0
push 0x89
push eax
call dword [ecx + 0xc8]
jmp 0x5139af
mov edx, dword [eax]
push 0
push 0x89
push eax
call dword [edx + 0xc8]
mov eax, dword [0x620cd4]
push 4
push 4
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
mov eax, dword [0x620cd4]
push 2
push 5
push 0
mov edx, dword [eax]
push eax
call dword [edx + 0xfc]
mov eax, dword [0x620cd4]
push 0
push 6
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
mov edi, 0x142
mov dword [0x620cf8], 8
mov dword [0x620cfc], edi
mov dword [0x620d00], 0
mov edx, dword [ebp + 0x2b4]
push 0x18
push edx
push 0
mov ecx, 0x620cd0
call fcn.0040d450
mov eax, dword [0x620cd4]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x130]
mov ecx, 0x620cd0
call fcn.0040dae0
mov ecx, 0x620cd0
call fcn.0040cf90
lea ebx, [ebp + 0x10c]
mov ecx, 0x620cd0
push ebx
mov dword [esp + 0x2c], 0x3e4ccccd
mov dword [esp + 0x20], 0x3ecccccd
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x3e4ccccd
call fcn.0040cfd0
mov ecx, dword [ebp + 0x344]
mov eax, dword [0x620cd4]
mov ecx, dword [ecx + 8]
mov edx, dword [eax]
push ecx
push 0
push eax
call dword [edx + 0xf4]
lea esi, [ebp + 0x1c8]
push 0x42dc0000
mov ecx, esi
call fcn.0048ee10
test eax, eax
je 0x513aaa
mov ecx, ebp
call fcn.00514400
fld dword [ebp + 0x1c4]
fcomp dword [0x588978]
fnstsw ax
test ah, 1
jne 0x513b2d
fld dword [ebp + 0x1c4]
fcomp dword [0x5887b0]
fnstsw ax
test ah, 1
je 0x513ae8
fld dword [ebp + 0x1c4]
fsub dword [0x588978]
fmul dword [0x588328]
fstp dword [esp + 0x2c]
jmp 0x513b35
push 0x42f00000
mov ecx, esi
call fcn.0048ee10
test eax, eax
je 0x513b02
mov dword [esp + 0x2c], 0x3f800000
jmp 0x513b35
fld dword [ebp + 0x1c4]
fcomp dword [0x58884c]
fnstsw ax
test ah, 1
je 0x513b2d
fld dword [0x58884c]
fsub dword [ebp + 0x1c4]
fmul dword [0x588328]
fstp dword [esp + 0x2c]
jmp 0x513b35
mov dword [esp + 0x2c], 0
movsx ecx, byte [ebp + 1]
mov byte [esp + 0x17], 0
xor eax, eax
cmp byte [eax + ebp + 0x33c], 3
jg 0x513b4f
mov byte [esp + 0x17], 1
inc eax
cmp eax, 6
jl 0x513b40
cmp ecx, 7
ja case.default.0x513b5e
jmp dword [ecx*4 + 0x5143d8]
mov dl, byte [ebp + 0x33c]
mov al, byte [ebp + 0x33e]
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], al
jmp case.default.0x513b5e
mov cl, byte [ebp + 0x33c]
mov dl, byte [ebp + 0x33d]
mov al, byte [ebp + 0x33f]
mov byte [esp + 0x10], cl
mov cl, byte [ebp + 0x340]
mov byte [esp + 0x11], dl
mov byte [esp + 0x12], al
mov byte [esp + 0x13], cl
jmp case.default.0x513b5e
mov dl, byte [ebp + 0x33c]
mov al, byte [ebp + 0x33d]
mov cl, byte [ebp + 0x33e]
mov byte [esp + 0x10], dl
mov dl, byte [ebp + 0x33f]
mov byte [esp + 0x11], al
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], dl
jmp case.default.0x513b5e
mov al, byte [ebp + 0x33c]
mov cl, byte [ebp + 0x33d]
mov dl, byte [ebp + 0x33e]
mov byte [esp + 0x10], al
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], dl
mov cl, byte [ebp + 0x368]
movsx eax, cl
mov al, byte [esp + eax + 0x10]
cmp al, 3
jle 0x513c10
mov dword [esp + 0x28], 0x3e4ccccd
mov dword [esp + 0x1c], 0x3ecccccd
jmp 0x513c5f
jge 0x513c4b
movsx edx, al
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], 0
fild dword [esp + 0x18]
mov dword [esp + 0x24], 0x3e4ccccd
fmul dword [0x5885a4]
fld st(0)
fadd dword [0x588434]
fstp dword [esp + 0x28]
fadd dword [0x58880c]
fstp dword [esp + 0x1c]
jmp 0x513c6f
cmp al, 3
jne 0x513c6f
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0x3e4ccccd
mov dword [esp + 0x20], 0x3e4ccccd
mov dword [esp + 0x24], 0x3ecccccd
xor dl, dl
xor eax, eax
cmp byte [eax + ebp + 0x33c], 0
jne 0x513c7f
mov dl, 1
inc eax
cmp eax, 6
jl 0x513c73
test dl, dl
jne 0x513c95
mov al, byte [esp + 0x17]
test al, al
jne 0x51437e
mov al, byte [ebp + 1]
test al, al
jne 0x513cdd
test cl, cl
jne 0x513ca8
fld dword [0x58832c]
jmp 0x513cac
fld dword [esp + 0x18]
cmp cl, 1
jne 0x513cb9
fstp st(0)
fld dword [0x588318]
mov al, byte [ebp + 0x36c]
test al, al
jne 0x513ccb
fld dword [0x58832c]
jmp 0x513ccf
fld dword [esp + 0x18]
cmp al, 1
jne 0x513d4e
fstp st(0)
fld dword [0x588318]
jmp 0x513d4e
test cl, cl
jne 0x513ce9
fld dword [0x58a230]
jmp 0x513ced
fld dword [esp + 0x18]
cmp cl, 1
jne 0x513cfa
fstp st(0)
fld dword [0x58832c]
cmp cl, 2
jne 0x513d07
fstp st(0)
fld dword [0x588318]
cmp cl, 3
jne 0x513d14
fstp st(0)
fld dword [0x58a22c]
mov al, byte [ebp + 0x36c]
test al, al
jne 0x513d26
fld dword [0x58a230]
jmp 0x513d2a
fld dword [esp + 0x18]
cmp al, 1
jne 0x513d36
fstp st(0)
fld dword [0x58832c]
cmp al, 2
jne 0x513d42
fstp st(0)
fld dword [0x588318]
cmp al, 3
jne 0x513d4e
fstp st(0)
fld dword [0x58a22c]
fld dword [0x5885e4]
fsub dword [ebp + 0x380]
push 0
push 0x3f800000
push 0
push 2
fmul st(1)
fxch st(2)
fmul dword [ebp + 0x380]
push 0
push 0
mov ecx, 0x620cd0
faddp st(2)
fxch st(1)
fmul dword [0x589d58]
fstp dword [esp + 0x30]
fstp st(0)
call fcn.0040d7e0
push ebx
mov ecx, 0x620cd0
call fcn.0040cfd0
mov edx, dword [ebp + 0x344]
mov eax, dword [0x620cd4]
mov edx, dword [edx + 8]
mov ecx, dword [eax]
push edx
push 0
push eax
call dword [ecx + 0xf4]
fld dword [esp + 0x2c]
fmul dword [0x58860c]
mov dword [esp + 0x30], 0xbf800000
mov dword [esp + 0x34], 0x3f800000
mov dword [esp + 0x38], 0
call fcn.005755f0
mov ebx, eax
push 0
shl eax, 0x18
or eax, 0xffffff
mov dword [0x620cf8], 8
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x88], eax
lea eax, [esp + 0x14]
mov dword [0x620cfc], edi
mov dword [0x620d00], 0
mov ecx, dword [ebp + 0x2b4]
push eax
push 0
push 0
push ecx
mov ecx, 0x620cd0
mov dword [esp + 0x54], 0x3e4ccccd
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x3f800000
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], 0x3ecccccd
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0xbf800000
mov dword [esp + 0x78], 0xbf800000
mov dword [esp + 0x7c], 0
mov dword [esp + 0x84], 0x3e4ccccd
mov dword [esp + 0x88], 0x3e4ccccd
mov dword [esp + 0x8c], 0x3f800000
mov dword [esp + 0x90], 0xbf800000
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], 0x3ecccccd
mov dword [esp + 0xa0], 0x3e4ccccd
call fcn.0040d2b0
mov edi, dword [esp + 0x10]
mov ecx, 0x18
lea esi, [esp + 0x30]
push 1
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0x2b4]
mov ecx, 0x620cd0
push edx
call fcn.0040d2f0
mov eax, dword [ebp + 0x2b4]
push 0x18
push eax
push 0
mov ecx, 0x620cd0
call fcn.0040d450
mov ecx, dword [esp + 0x18]
push 0xc2a00000
push 0x3f800000
lea edx, [esp + 0x118]
push ecx
push edx
mov ecx, 0x65cb50
call fcn.004937c0
mov esi, eax
push 0x3f000000
push 0x3f000000
lea eax, [esp + 0x38]
push 0x3f000000
push eax
mov ecx, 0x65cb50
call fcn.00493790
push esi
lea ecx, [esp + 0xd4]
push eax
push ecx
call fcn.0055734a
mov eax, dword [0x620cd4]
mov ecx, 0x10
lea esi, [esp + 0xd0]
lea edi, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x90]
push ecx
push 0x100
push eax
call dword [edx + 0x94]
push 2
push 0
push 5
mov ecx, 0x620cd0
call fcn.0040d710
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
shl ebx, 0x18
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x1c]
mov eax, ebx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x28]
or eax, 0xffffff
mov dword [esp + 0x44], ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
mov eax, ecx
mov ebx, 0x142
mov dword [esp + 0x30], 0xbf800000
mov dword [esp + 0x34], 0x3f800000
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x50], 0
mov dword [esp + 0x60], 0xbf800000
mov dword [esp + 0x64], 0xbf800000
mov dword [esp + 0x68], 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], 0x3f800000
mov dword [esp + 0x7c], 0xbf800000
mov dword [esp + 0x80], 0
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [0x620cf8], 8
mov dword [0x620cfc], ebx
mov dword [0x620d00], 0
mov edx, dword [ebp + 0x2b4]
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push 0
push edx
mov ecx, 0x620cd0
call fcn.0040d2b0
mov edi, dword [esp + 0x10]
mov ecx, 0x18
lea esi, [esp + 0x30]
push 1
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x2b4]
mov ecx, 0x620cd0
push eax
call fcn.0040d2f0
mov ecx, dword [ebp + 0x2b4]
push 0x18
push ecx
push 0
mov ecx, 0x620cd0
call fcn.0040d450
mov edx, dword [esp + 0x18]
push 0xc2a0051f
push 0x3f800000
lea eax, [esp + 0x38]
push edx
push eax
mov ecx, 0x65cb50
call fcn.004937c0
push 0x3ee66666
push 0x3ee66666
lea ecx, [esp + 0x118]
push 0x3ee66666
push ecx
mov ecx, 0x65cb50
mov esi, eax
call fcn.00493790
push esi
lea edx, [esp + 0xd4]
push eax
push edx
call fcn.0055734a
mov eax, dword [0x620cd4]
mov ecx, 0x10
lea esi, [esp + 0xd0]
lea edi, [esp + 0x90]
lea edx, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push edx
push 0x100
push eax
call dword [ecx + 0x94]
push 2
push 0
push 5
mov ecx, 0x620cd0
call fcn.0040d710
or eax, 0xffffffff
mov dword [esp + 0x30], 0xbf800000
mov dword [esp + 0x34], 0x3f800000
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x3f800000
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0xbf800000
mov dword [esp + 0x64], 0xbf800000
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x3f800000
mov dword [esp + 0x78], 0x3f800000
mov dword [esp + 0x84], eax
lea eax, [esp + 0x10]
push 0
mov dword [0x620cf8], 8
mov dword [0x620cfc], ebx
mov dword [0x620d00], 0
mov ecx, dword [ebp + 0x2b4]
push eax
push 0
push 0
push ecx
mov ecx, 0x620cd0
mov dword [esp + 0x90], 0xbf800000
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], 0x3f800000
mov dword [esp + 0xa0], 0x3f800000
call fcn.0040d2b0
mov edi, dword [esp + 0x10]
mov ecx, 0x18
lea esi, [esp + 0x30]
push 1
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0x2b4]
mov ecx, 0x620cd0
push edx
call fcn.0040d2f0
mov eax, dword [ebp + 0x2b4]
push 0x18
push eax
push 0
mov ecx, 0x620cd0
call fcn.0040d450
sub esp, 0x40
mov ecx, 0x10
lea esi, [esp + 0xd0]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, ebp
call fcn.00514820
push 0x42f00000
lea ecx, [ebp + 0x1c8]
call fcn.0048ee10
test eax, eax
je 0x51437e
push 0
lea ecx, [ebp + 0x270]
call fcn.0048ee10
test eax, eax
je 0x51437e
fld dword [ebp + 0x380]
fcomp dword [0x588314]
fnstsw ax
test ah, 0x40
je 0x51432a
movsx ecx, byte [ebp + 0x368]
push 0
lea ecx, [ebp + ecx*8 + 0x23c]
call fcn.0048ee10
test eax, eax
push 0
mov ecx, ebp
je 0x514301
call fcn.00514490
jmp 0x514306
call fcn.00516cc0
mov dl, byte [ebp + 0x36c]
mov al, byte [ebp + 0x368]
cmp dl, al
je 0x51437e
fld dword [ebp + 0x380]
fadd dword [0x588318]
fstp dword [ebp + 0x380]
jmp 0x51437e
fld dword [ebp + 0x380]
fcomp dword [0x5885e4]
fnstsw ax
test ah, 1
je 0x514368
fld dword [0x6213fc]
fadd dword [ebp + 0x380]
fst dword [ebp + 0x380]
fcomp dword [0x5885e4]
fnstsw ax
test ah, 1
jne 0x51437e
mov dword [ebp + 0x380], 0x40c00000
jmp 0x51437e
mov dword [ebp + 0x380], 0
mov al, byte [ebp + 0x368]
mov byte [ebp + 0x36c], al
mov al, byte [0x620ce8]
test al, al
jne 0x5143ae
mov eax, dword [0x620cd4]
mov byte [0x620f08], 0
push 0
push 0x89
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [0x620cd4]
mov byte [0x620f08], 1
push 1
push 0x89
mov edx, dword [eax]
push eax
call dword [edx + 0xc8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret