Function at 0x574980
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x628090
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x685e38]
xor eax, esp
mov dword [esp + 0xec], eax
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x2c]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x84], edx
mov edx, dword [ebp + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], eax
mov eax, dword [edi + 0x24]
lea edx, [esp + 0x9c]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.0051d930
fild dword [esp + 0x20]
fld qword [0x634650]
mov ax, word [edi + 0x20]
and ax, 0xfff9
fmul st(1), st(0)
movzx ecx, ax
fild dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
fmul st(1)
fxch st(2)
fadd st(1)
call fcn.005fbb60
faddp st(1)
mov dword [esp + 0x94], eax
call fcn.005fbb60
lea ecx, [esp + 0xb0]
mov dword [esp + 0x74], eax
call fcn.0051b930
lea ecx, [esp + 0xd4]
mov dword [esp + 0x108], 0
call fcn.0051b930
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
xor eax, eax
mov dword [esp + 0x38], edx
mov edx, dword [edi + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 8]
mov byte [esp + 0x108], 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
cmp dword [ebp + 0x28], eax
je 0x57506e
cmp word [esp + 0x14], 1
jne 0x574db2
mov edi, dword [esp + 0x2c]
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x28]
neg edx
neg eax
push ecx
lea ecx, [esp + 0x18]
mov dword [edi], edx
mov dword [edi + 4], eax
call fcn.00522bf0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
neg edx
neg eax
cmp dword [esp + 0x20], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
jge 0x574c59
mov edx, dword [esp + 0x10]
add edx, 0x24
push edx
lea ecx, [esp + 0xb4]
call fcn.0051d8c0
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0xd8]
call fcn.0051d8c0
lea ecx, [esp + 0xd4]
call fcn.0051ef10
mov ecx, dword [esp + 0x88]
push ecx
lea ecx, [esp + 0x78]
call fcn.005f0660
mov edx, dword [esp + 0x84]
push edx
lea ecx, [esp + 0x80]
call fcn.005f0660
mov eax, dword [esp + 0x94]
push 1
push eax
lea ecx, [esp + 0x7c]
push ecx
push edi
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x64]
call fcn.0051e510
push eax
mov ecx, esi
mov byte [esp + 0x10c], 2
call fcn.00583ab0
lea ecx, [esp + 0x50]
mov byte [esp + 0x108], 1
call fcn.0051c420
mov edi, dword [esp + 0x24]
lea eax, [esp + 0xd8]
push eax
mov ecx, edi
call fcn.0051f2f0
push edi
lea ecx, [esi + 0x30]
call fcn.00583ab0
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esi + 0x60]
call fcn.00583ab0
push 1
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xec]
push ecx
lea ecx, [esp + 0x60]
call fcn.0051bd90
push eax
lea ecx, [esi + 0x90]
mov byte [esp + 0x10c], 3
call fcn.00583ab0
lea ecx, [esp + 0x50]
mov byte [esp + 0x108], 1
call fcn.0051c420
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0xb4]
push ebx
push eax
call fcn.0052daf0
add esp, 0xc
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0xb4]
call fcn.0051f2f0
lea edx, [esp + 0x40]
push edx
mov ecx, ebx
call fcn.0051f1c0
lea eax, [esp + 0xb0]
push eax
jmp 0x57504d
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0xb4]
call fcn.0051d8c0
lea ecx, [esp + 0xb0]
call fcn.0051ef10
mov edx, dword [esp + 0xc]
add edx, 0x24
push edx
lea ecx, [esp + 0xd8]
call fcn.0051d8c0
push 1
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0xc8]
push edx
lea ecx, [esp + 0x60]
call fcn.0051bd90
push eax
mov ecx, esi
mov byte [esp + 0x10c], 4
call fcn.00583ab0
lea ecx, [esp + 0x50]
mov byte [esp + 0x108], 1
call fcn.0051c420
mov edi, dword [esp + 0x24]
lea eax, [esp + 0xe0]
push eax
mov ecx, edi
call fcn.0051f1c0
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esi + 0x30]
call fcn.00583ab0
push edi
lea ecx, [esi + 0x60]
call fcn.00583ab0
mov edx, dword [esp + 0x7c]
push edx
lea ecx, [esp + 0x80]
call fcn.005f0660
mov eax, dword [esp + 0x8c]
push eax
lea ecx, [esp + 0x98]
call fcn.005f0660
mov ecx, dword [esp + 0x74]
push 1
push ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0x64]
call fcn.0051e510
push eax
lea ecx, [esi + 0x90]
mov byte [esp + 0x10c], 5
call fcn.00583ab0
lea ecx, [esp + 0x50]
mov byte [esp + 0x108], 1
call fcn.0051c420
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0xb4]
push eax
push ebx
call fcn.0052daf0
add esp, 0xc
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebx
call fcn.0051f2f0
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0xb4]
call fcn.0051f1c0
push ebx
lea ecx, [esi + 0xc0]
call fcn.00583ab0
lea eax, [esp + 0xb0]
push eax
jmp 0x575059
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x20], ecx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xb0]
jge 0x574f16
push edx
call fcn.0051d8c0
lea ecx, [esp + 0xb0]
call fcn.0051ef10
mov eax, dword [esp + 0xc]
add eax, 0x24
push eax
lea ecx, [esp + 0xd8]
call fcn.0051d8c0
push 1
lea ecx, [esp + 0xdc]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x60]
call fcn.0051bd90
push eax
mov ecx, esi
mov byte [esp + 0x10c], 6
call fcn.00583ab0
lea ecx, [esp + 0x50]
mov byte [esp + 0x108], 1
call fcn.0051c420
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0xe0]
push ecx
mov ecx, edi
call fcn.0051f1c0
lea edx, [esp + 0xd4]
push edx
lea ecx, [esi + 0x30]
call fcn.00583ab0
push edi
lea ecx, [esi + 0x60]
call fcn.00583ab0
mov eax, dword [esp + 0x84]
push eax
lea ecx, [esp + 0x18]
call fcn.005f0660
mov ecx, dword [esp + 0x88]
push ecx
lea ecx, [esp + 0x78]
call fcn.005f0660
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x2c]
push 1
push edx
lea eax, [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x64]
call fcn.0051e510
push eax
lea ecx, [esi + 0x90]
mov byte [esp + 0x10c], 7
call fcn.00583ab0
lea ecx, [esp + 0x50]
mov byte [esp + 0x108], 1
call fcn.0051c420
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xb4]
push ecx
push ebx
call fcn.0052daf0
add esp, 0xc
lea edx, [esp + 0x40]
push edx
mov ecx, ebx
call fcn.0051f2f0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xb4]
call fcn.0051f1c0
push ebx
lea ecx, [esi + 0xc0]
call fcn.00583ab0
lea ecx, [esp + 0xb0]
push ecx
jmp 0x575059
add edx, 0x24
push edx
call fcn.0051d8c0
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0xd8]
call fcn.0051d8c0
lea ecx, [esp + 0xd4]
call fcn.0051ef10
mov ecx, dword [esp + 0x8c]
push ecx
lea ecx, [esp + 0x18]
call fcn.005f0660
mov edx, dword [esp + 0x7c]
push edx
lea ecx, [esp + 0x90]
call fcn.005f0660
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x28]
push 1
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x64]
call fcn.0051e510
push eax
mov ecx, esi
mov byte [esp + 0x10c], 8
call fcn.00583ab0
lea ecx, [esp + 0x50]
mov byte [esp + 0x108], 1
call fcn.0051c420
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0xd8]
push ecx
mov ecx, edi
call fcn.0051f2f0
push edi
lea ecx, [esi + 0x30]
call fcn.00583ab0
lea edx, [esp + 0xd4]
push edx
lea ecx, [esi + 0x60]
call fcn.00583ab0
push 1
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0xec]
push edx
lea ecx, [esp + 0x60]
call fcn.0051bd90
push eax
lea ecx, [esi + 0x90]
mov byte [esp + 0x10c], 9
call fcn.00583ab0
lea ecx, [esp + 0x50]
mov byte [esp + 0x108], 1
call fcn.0051c420
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xb4]
push ebx
push ecx
call fcn.0052daf0
add esp, 0xc
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0xb4]
call fcn.0051f2f0
lea eax, [esp + 0x40]
push eax
mov ecx, ebx
call fcn.0051f1c0
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esi + 0xc0]
call fcn.00583ab0
push ebx
lea ecx, [esi + 0xf0]
call fcn.00583ab0
mov esi, 0x12
jmp 0x57537c
cmp word [esp + 0x14], 1
jne 0x5751f3
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
neg edx
neg ecx
mov dword [eax], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 4], ecx
push edx
lea ecx, [esp + 0x18]
call fcn.00522bf0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
neg ecx
neg eax
cmp dword [esp + 0x20], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xb0]
jge 0x57515b
mov eax, dword [esp + 0x10]
add eax, 0x24
push eax
call fcn.0051d8c0
mov ecx, dword [esp + 0xc]
push ecx
lea ecx, [esp + 0xd8]
call fcn.0051d8c0
lea ecx, [esp + 0xd4]
call fcn.0051ef10
push 1
lea edx, [esp + 0xdc]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x60]
call fcn.0051bd90
push eax
mov ecx, esi
mov byte [esp + 0x10c], 0xa
call fcn.00583ab0
lea ecx, [esp + 0x50]
mov byte [esp + 0x108], 1
call fcn.0051c420
push 1
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xec]
push ecx
lea ecx, [esp + 0x60]
call fcn.0051bd90
mov byte [esp + 0x108], 0xb
jmp 0x57533a
mov edx, dword [esp + 0x10]
push edx
call fcn.0051d8c0
lea ecx, [esp + 0xb0]
call fcn.0051ef10
mov eax, dword [esp + 0xc]
add eax, 0x24
push eax
lea ecx, [esp + 0xd8]
call fcn.0051d8c0
push 1
lea ecx, [esp + 0xdc]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x60]
call fcn.0051bd90
push eax
mov ecx, esi
mov byte [esp + 0x10c], 0xc
call fcn.00583ab0
lea ecx, [esp + 0x50]
mov byte [esp + 0x108], 1
call fcn.0051c420
push 1
lea ecx, [esp + 0xb8]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x60]
call fcn.0051bd90
mov byte [esp + 0x108], 0xd
jmp 0x57533a
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x20], ecx
jge 0x5752a0
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esp + 0xb4]
call fcn.0051d8c0
lea ecx, [esp + 0xb0]
call fcn.0051ef10
mov eax, dword [esp + 0xc]
add eax, 0x24
push eax
lea ecx, [esp + 0xd8]
call fcn.0051d8c0
push 1
lea ecx, [esp + 0xdc]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x60]
call fcn.0051bd90
push eax
mov ecx, esi
mov byte [esp + 0x10c], 0xe
call fcn.00583ab0
lea ecx, [esp + 0x50]
mov byte [esp + 0x108], 1
call fcn.0051c420
push 1
lea ecx, [esp + 0xb8]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x60]
call fcn.0051bd90
mov byte [esp + 0x108], 0xf
jmp 0x57533a
mov ecx, dword [esp + 0x10]
add ecx, 0x24
push ecx
lea ecx, [esp + 0xb4]
call fcn.0051d8c0
mov edx, dword [esp + 0xc]
push edx
lea ecx, [esp + 0xd8]
call fcn.0051d8c0
lea ecx, [esp + 0xd4]
call fcn.0051ef10
push 1
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0xc8]
push edx
lea ecx, [esp + 0x60]
call fcn.0051bd90
push eax
mov ecx, esi
mov byte [esp + 0x10c], 0x10
call fcn.00583ab0
lea ecx, [esp + 0x50]
mov byte [esp + 0x108], 1
call fcn.0051c420
push 1
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0xec]
push edx
lea ecx, [esp + 0x60]
call fcn.0051bd90
mov byte [esp + 0x108], 0x11
push eax
lea ecx, [esi + 0x60]
call fcn.00583ab0
lea ecx, [esp + 0x50]
mov byte [esp + 0x108], 1
call fcn.0051c420
lea eax, [esp + 0xd4]
push eax
lea ecx, [esi + 0x30]
call fcn.00583ab0
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esi + 0x90]
call fcn.00583ab0
mov esi, 0xc
lea ecx, [esp + 0xd4]
mov byte [esp + 0x108], 0
call fcn.0051c420
lea ecx, [esp + 0xb0]
mov dword [esp + 0x108], 0xffffffff
call fcn.0051c420
mov eax, esi
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xec]
xor ecx, esp
call fcn.005fb9ce
mov esp, ebp
pop ebp
ret