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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x46134a
mov eax, dword fs:[0]
push eax
sub esp, 0x164
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c003c]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x40], esi
mov ebx, dword [0x46a64c]
push 0xffffffffffffffff
push 0x46e7a0
call ebx
add esp, 8
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
add esi, 0x30
push eax
mov ecx, esi
mov dword [esp + 0x184], 0
call dword [0x46a444]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x180], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x419940
mov eax, dword [esp + 0x2c]
push eax
call dword [0x46a75c]
add esp, 4
push 0xffffffffffffffff
push 0x46e784
call ebx
add esp, 8
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x124]
mov dword [esp + 0x180], 1
call dword [0x46a4d0]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0xec]
push edx
mov ecx, esi
mov byte [esp + 0x18c], 2
call dword [0x46a46c]
mov edi, dword [0x46a470]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
mov byte [esp + 0x184], 3
call edi
mov ebp, dword [0x46a698]
lea ecx, [esp + 0xe4]
mov byte [esp + 0x180], 5
call ebp
lea ecx, [esp + 0x124]
mov byte [esp + 0x180], 6
call ebp
mov edx, dword [esp + 0x60]
mov byte [esp + 0x180], 7
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4199e8
mov ecx, dword [esp + 0x60]
push ecx
call dword [0x46a75c]
add esp, 4
push 0xffffffffffffffff
push 0x46efac
call ebx
add esp, 8
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x180], 8
call dword [0x46a4d0]
push eax
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
mov byte [esp + 0x18c], 9
call dword [0x46a46c]
lea ecx, [esp + 0xc4]
mov byte [esp + 0x180], 0xb
call ebp
mov ecx, dword [esp + 0x5c]
mov byte [esp + 0x180], 0xc
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x419a5c
mov eax, dword [esp + 0x5c]
push eax
call dword [0x46a75c]
add esp, 4
test dword [esp + 0x7c], 0x3fffffff
je 0x419bdf
push 0xffffffffffffffff
push 0x46eefc
call ebx
add esp, 8
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x180], 0xd
call dword [0x46a4d0]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x8c]
push edx
mov ecx, esi
mov byte [esp + 0x18c], 0xe
call dword [0x46a46c]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
mov byte [esp + 0x184], 0xf
call edi
lea ecx, [esp + 0x84]
mov byte [esp + 0x180], 0x11
call ebp
lea ecx, [esp + 0x64]
mov byte [esp + 0x180], 0x12
call ebp
mov edx, dword [esp + 0x38]
mov byte [esp + 0x180], 0x13
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x419afd
mov ecx, dword [esp + 0x38]
push ecx
call dword [0x46a75c]
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 0xc]
sub esi, dword [eax + 8]
push 0
lea ecx, [esp + 0x78]
mov dword [esp + 0x48], esi
call dword [0x46a68c]
mov dword [esp + 0x30], eax
cmp eax, esi
lea eax, [esp + 0x30]
jl 0x419b27
lea eax, [esp + 0x44]
mov esi, dword [eax]
test esi, esi
je 0x419b4c
lea ecx, [ecx]
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 8]
add edx, esi
lea eax, [eax + edx*4 + 0x10]
push eax
lea ecx, [esp + 0x40]
call fcn.00403d30
sub esi, 1
jne 0x419b30
push 0xffffffffffffffff
push 0x46efac
call ebx
add esp, 8
mov dword [esp + 0x34], eax
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x34]
push ecx
add esi, 0x30
mov ecx, esi
mov byte [esp + 0x184], 0x14
call dword [0x46a408]
mov edx, dword [esp + 0x34]
mov byte [esp + 0x180], 0x13
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x419b9b
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x46a75c]
add esp, 4
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x180], 0xc
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x419bdf
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0xc]
lea edx, [eax + ecx*4 + 0x14]
mov ecx, dword [eax + 8]
push edx
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], eax
call fcn.00402b90
mov eax, dword [esp + 0x30]
push eax
call dword [0x46a6d4]
add esp, 4
push 0xffffffffffffffff
push 0x46e778
call ebx
add esp, 8
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x180], 0x15
call dword [0x46a4d0]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
mov byte [esp + 0x18c], 0x16
call dword [0x46a46c]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, eax
mov byte [esp + 0x184], 0x17
call edi
lea ecx, [esp + 0x64]
mov byte [esp + 0x180], 0x19
call ebp
lea ecx, [esp + 0x84]
mov byte [esp + 0x180], 0x1a
call ebp
mov edx, dword [esp + 0x34]
mov byte [esp + 0x180], 0x1b
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x419c72
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x46a75c]
add esp, 4
push 0xffffffffffffffff
push 0x46e770
call ebx
add esp, 8
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x180], 0x1c
call dword [0x46a4d0]
push eax
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x10c]
push eax
mov ecx, esi
mov byte [esp + 0x18c], 0x1d
call dword [0x46a46c]
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
mov byte [esp + 0x184], 0x1e
call edi
lea ecx, [esp + 0x104]
mov byte [esp + 0x180], 0x20
call ebp
lea ecx, [esp + 0x94]
mov byte [esp + 0x180], 0x21
call ebp
mov edx, dword [esp + 0x38]
mov byte [esp + 0x180], 0x22
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x419d0b
mov ecx, dword [esp + 0x38]
push ecx
call dword [0x46a75c]
add esp, 4
push 0xffffffffffffffff
push 0x46e768
call ebx
add esp, 8
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x180], 0x23
call dword [0x46a4d0]
push eax
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0xac]
push eax
mov ecx, esi
mov byte [esp + 0x18c], 0x24
call dword [0x46a46c]
lea ecx, [esp + 0x54]
push ecx
mov ecx, eax
mov byte [esp + 0x184], 0x25
call edi
lea ecx, [esp + 0xa4]
mov byte [esp + 0x180], 0x27
call ebp
lea ecx, [esp + 0xb4]
mov byte [esp + 0x180], 0x28
call ebp
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x180], 0x29
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x419da4
mov ecx, dword [esp + 0x2c]
push ecx
call dword [0x46a75c]
add esp, 4
push 0xffffffffffffffff
push 0x46e758
call ebx
add esp, 8
mov dword [esp + 0x44], eax
lea ecx, [esp + 0xf4]
mov byte [esp + 0x180], 0x2a
call dword [0x46a4d0]
push eax
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0xdc]
push eax
mov ecx, esi
mov byte [esp + 0x18c], 0x2b
call dword [0x46a46c]
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
mov byte [esp + 0x184], 0x2c
call edi
lea ecx, [esp + 0xd4]
mov byte [esp + 0x180], 0x2e
call ebp
lea ecx, [esp + 0xf4]
mov byte [esp + 0x180], 0x2f
call ebp
mov edx, dword [esp + 0x44]
mov byte [esp + 0x180], 0x30
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x419e3d
mov ecx, dword [esp + 0x44]
push ecx
call dword [0x46a75c]
add esp, 4
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
sub edx, eax
xor esi, esi
test edx, edx
jle 0x419fa2
mov edx, dword [esp + 0x4c]
mov edi, dword [edx + 0xc]
sub edi, dword [edx + 8]
cmp esi, edi
jge 0x419f91
mov edx, dword [esp + 0x48]
mov edi, dword [edx + 0xc]
sub edi, dword [edx + 8]
cmp esi, edi
jge 0x419f91
mov edx, dword [esp + 0x54]
mov edi, dword [edx + 0xc]
sub edi, dword [edx + 8]
cmp esi, edi
jge 0x419f91
mov edx, dword [esp + 0x50]
mov edi, dword [edx + 0xc]
sub edi, dword [edx + 8]
cmp esi, edi
jge 0x419f91
mov edi, dword [esp + 0x40]
add eax, esi
lea eax, [ecx + eax*4 + 0x14]
push 0
push eax
mov ecx, edi
call fcn.00419620
test al, al
je 0x419f8d
mov ecx, dword [edi + 0x74]
call fcn.0040be30
mov edi, eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
add ecx, esi
push 0
lea ecx, [eax + ecx*4 + 0x14]
call dword [0x46a40c]
fldz
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x419ef1
mov ecx, dword [edi + 0x20]
sub esp, 8
fstp qword [esp]
call fcn.00445800
jmp 0x419ef3
fstp st(0)
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 8]
mov ebx, dword [0x46a410]
push 0xa
add edx, esi
push 0
lea ecx, [eax + edx*4 + 0x14]
call ebx
mov ebp, eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 8]
push 0xa
add ecx, esi
push 0
lea ecx, [eax + ecx*4 + 0x14]
call ebx
push ebp
mov ecx, edi
mov ebx, eax
call dword [0x46abc4]
mov ebp, dword [0x46ac78]
mov ecx, eax
call ebp
push ebx
mov ecx, edi
call dword [0x46abbc]
mov ecx, eax
call ebp
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 8]
push 0xa
add edx, esi
push 0
lea ecx, [eax + edx*4 + 0x14]
call dword [0x46a410]
mov edi, eax
test edi, edi
jle 0x419f81
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0xc]
call dword [0x46be48]
cmp edi, eax
jge 0x419f81
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 0x18]
push edi
call fcn.0041b930
mov ebp, dword [0x46a698]
mov ebx, dword [0x46a64c]
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
inc esi
sub edx, eax
cmp esi, edx
jl 0x419e53
push 0xffffffffffffffff
push 0x46e794
call ebx
add esp, 8
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x134]
mov byte [esp + 0x180], 0x31
call dword [0x46a4d0]
mov ebx, dword [esp + 0x40]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x11c]
push ecx
lea esi, [ebx + 0x30]
mov ecx, esi
mov byte [esp + 0x18c], 0x32
call dword [0x46a46c]
lea edx, [esp + 0x58]
push edx
mov ecx, eax
mov byte [esp + 0x184], 0x33
call dword [0x46a690]
lea ecx, [esp + 0x114]
mov byte [esp + 0x180], 0x35
call ebp
lea ecx, [esp + 0x134]
mov byte [esp + 0x180], 0x36
call ebp
mov eax, dword [esp + 0x30]
mov byte [esp + 0x180], 0x37
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41a046
mov edx, dword [esp + 0x30]
push edx
call dword [0x46a75c]
add esp, 4
mov ecx, dword [ebx + 0x74]
lea eax, [esp + 0x58]
push eax
call fcn.0040bf50
cmp eax, 0xffffffff
je 0x41a061
mov ecx, dword [ebx + 0x74]
push eax
call fcn.0040be60
mov ecx, esi
call dword [0x46a450]
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x180], 0x30
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41a08c
mov eax, dword [esp + 0x58]
push eax
call dword [0x46a75c]
add esp, 4
mov ecx, dword [esp + 0x50]
mov byte [esp + 0x180], 0x29
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41a0e9
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x14]
lea ebx, [eax + edx*4 + 0x14]
mov edi, eax
cmp ebx, esi
je 0x41a0df
lea esp, [esp]
mov eax, dword [esi - 4]
sub esi, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41a0db
mov edx, dword [esi]
push edx
call dword [0x46a75c]
add esp, 4
cmp esi, ebx
jne 0x41a0c0
push edi
call dword [0x46a6d4]
add esp, 4
mov eax, dword [esp + 0x54]
mov byte [esp + 0x180], 0x22
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41a13f
mov eax, dword [esp + 0x54]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea esi, [eax + edx*4 + 0x14]
lea ebx, [eax + ecx*4 + 0x14]
mov edi, eax
cmp ebx, esi
je 0x41a135
mov edx, dword [esi - 4]
sub esi, 4
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x41a131
mov ecx, dword [esi]
push ecx
call dword [0x46a75c]
add esp, 4
cmp esi, ebx
jne 0x41a116
push edi
call dword [0x46a6d4]
add esp, 4
mov edx, dword [esp + 0x48]
mov byte [esp + 0x180], 0x1b
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x41a199
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x14]
lea ebx, [eax + edx*4 + 0x14]
mov edi, eax
cmp ebx, esi
je 0x41a18f
lea esp, [esp]
mov eax, dword [esi - 4]
sub esi, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41a18b
mov edx, dword [esi]
push edx
call dword [0x46a75c]
add esp, 4
cmp esi, ebx
jne 0x41a170
push edi
call dword [0x46a6d4]
add esp, 4
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x180], 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41a1ef
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea esi, [eax + edx*4 + 0x14]
lea ebx, [eax + ecx*4 + 0x14]
mov edi, eax
cmp ebx, esi
je 0x41a1e5
mov edx, dword [esi - 4]
sub esi, 4
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x41a1e1
mov ecx, dword [esi]
push ecx
call dword [0x46a75c]
add esp, 4
cmp esi, ebx
jne 0x41a1c6
push edi
call dword [0x46a6d4]
add esp, 4
lea ecx, [esp + 0x74]
mov byte [esp + 0x180], 7
call ebp
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x180], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x41a258
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x14]
lea ebx, [eax + edx*4 + 0x14]
mov ebp, eax
cmp ebx, esi
je 0x41a24e
mov edi, dword [0x46a75c]
mov eax, dword [esi - 4]
sub esi, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41a24a
mov edx, dword [esi]
push edx
call edi
add esp, 4
cmp esi, ebx
jne 0x41a233
push ebp
call dword [0x46a6d4]
add esp, 4
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret