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

Disassembly:
push 0xffffffffffffffff
push 0x101b1d8d
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x10415990]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10415990]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x120]
push 0x120
mov dword [esp + 0x24], ebp
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x101881c8
mov ecx, eax
call fcn.10184290
mov edi, eax
mov dword [esp + 0x1c], edi
jmp 0x101881ce
mov dword [esp + 0x1c], ebx
mov edi, ebx
mov dword [esp + 0x28], edi
push str.bias
mov ecx, ebp
mov dword [esp + 0x11c], ebx
call fcn.10184570
push str.mean
mov ecx, ebp
mov dword [edi + 0x11c], eax
call fcn.101844a0
cmp eax, ebx
jge 0x10188200
or eax, 0xffffffff
jmp 0x10188207
mov eax, dword [ebp + eax*4 + 0x254]
push 0x102919bc
mov ecx, ebp
mov dword [edi + 0x114], eax
call fcn.101844a0
cmp eax, ebx
jge 0x10188222
or eax, 0xffffffff
jmp 0x10188229
mov eax, dword [ebp + eax*4 + 0x254]
mov dword [edi + 0x118], eax
cmp dword [edi + 0x11c], ebx
jle 0x10188447
add edi, 0x88
mov esi, 1
mov dword [esp + 0x18], edi
lea ebx, [ebx]
lea eax, [esi + 1]
push ebx
push eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xa4]
push eax
call fcn.101878b0
mov edi, eax
push ebx
lea ecx, [esp + 0x90]
push esi
push ecx
mov byte [esp + 0x130], 1
call fcn.101878b0
add esp, 0x18
mov esi, eax
push 7
push str.weights
lea ecx, [esp + 0x34]
mov byte [esp + 0x120], 2
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.10048340
push esi
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x124], 3
call fcn.10187b70
push edi
push eax
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x130], 4
call fcn.10187b70
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x101882e9
mov edx, dword [eax]
mov dword [esp + 0x14], edx
jmp 0x101882ed
mov dword [esp + 0x14], eax
xor esi, esi
cmp dword [ebp + 0x30], ebx
jle 0x10188317
lea edi, [ebp + 0x454]
mov eax, dword [esp + 0x14]
push 0x40
push eax
push edi
call sub.MSVCR100.dll_strncmp
add esp, 0xc
test eax, eax
je 0x1018831e
inc esi
add edi, 0x40
cmp esi, dword [ebp + 0x30]
jl 0x101882fa
or ecx, 0xffffffff
or eax, ecx
jmp 0x10188330
mov ecx, esi
cmp esi, ebx
jge 0x10188329
or eax, 0xffffffff
jmp 0x10188330
mov eax, dword [ebp + esi*4 + 0x254]
mov ecx, dword [ebp + ecx*4 + 0x54]
cmp eax, 1
je 0x1018834f
mov edx, eax
and edx, 0x8000001f
jns 0x10188348
dec edx
or edx, 0xffffffe0
inc edx
je 0x1018834f
sub eax, edx
add eax, 0x20
mov edi, dword [esp + 0x18]
mov dword [edi + 0x40], eax
cmp ecx, 1
je 0x10188370
mov eax, ecx
and eax, 0x8000001f
jns 0x10188369
dec eax
or eax, 0xffffffe0
inc eax
je 0x10188370
sub ecx, eax
add ecx, 0x20
cmp dword [esp + 0x5c], 0x10
mov dword [edi], ecx
jb 0x10188386
mov ecx, dword [esp + 0x48]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x78], 0x10
mov esi, 0xf
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jb 0x101883ab
mov edx, dword [esp + 0x64]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x101883cb
mov eax, dword [esp + 0x2c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x94], 0x10
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
jb 0x101883f1
mov ecx, dword [esp + 0x80]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xb0], 0x10
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
mov byte [esp + 0x118], bl
jb 0x10188427
mov edx, dword [esp + 0x9c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add edi, 4
lea eax, [esi - 1]
mov dword [esp + 0x18], edi
cmp eax, dword [ecx + 0x11c]
jl 0x10188250
mov edi, ecx
mov ecx, ebp
call fcn.10185260
mov ecx, 0x20
test ecx, 1
jne 0x1018845f
sar ecx, 1
jne 0x10188453
cmp ecx, 1
jne 0x10188478
lea edx, [eax*4 + 0x20]
push edx
call sub.MSVCR100.dll_malloc
add esp, 4
cmp eax, ebx
jne 0x1018847c
xor eax, eax
jmp 0x1018848d
mov edx, eax
and edx, 0x1f
mov ecx, 0x20
sub ecx, edx
add eax, ecx
mov byte [eax - 1], cl
push eax
mov dword [edi + 4], eax
lea eax, [edi + 0x108]
push eax
push str.mean
mov ecx, ebp
call fcn.10184dc0
push eax
lea ecx, [edi + 0x110]
push ecx
push 0x1021ac64
mov ecx, ebp
call fcn.10184dc0
push eax
lea edx, [edi + 0x10c]
push edx
push 0x102919bc
mov ecx, ebp
call fcn.10184dc0
mov dword [esp + 0x18], eax
cmp dword [edi + 0x11c], ebx
jle 0x10188790
add edi, 8
mov esi, 2
mov dword [esp + 0x14], edi
jmp 0x101884f0
push ebx
lea eax, [esp + 0xf4]
push esi
push eax
call fcn.101878b0
mov edi, eax
push ebx
lea ecx, [esi - 1]
push ecx
lea edx, [esp + 0xcc]
push edx
mov byte [esp + 0x130], 5
call fcn.101878b0
add esp, 0x18
mov ebp, eax
push 7
push str.weights
lea ecx, [esp + 0x34]
mov byte [esp + 0x120], 6
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.10048340
push ebp
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x124], 7
call fcn.10187b70
push edi
push eax
lea edx, [esp + 0x94]
push edx
mov byte [esp + 0x130], 8
call fcn.10187b70
mov ebp, 0x10
add esp, 0x18
cmp dword [eax + 0x14], ebp
jb 0x10188586
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
add edx, 0x40
push edx
push eax
call fcn.10184dc0
mov dword [esp + 0x18], eax
cmp dword [esp + 0x94], ebp
jb 0x101885ba
mov eax, dword [esp + 0x80]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, 0xf
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
cmp dword [esp + 0x78], ebp
jb 0x101885e7
mov ecx, dword [esp + 0x64]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0x40], ebp
jb 0x10188606
mov edx, dword [esp + 0x2c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0xcc], ebp
jb 0x1018862b
mov eax, dword [esp + 0xb8]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
mov byte [esp + 0x118], bl
cmp dword [esp + 0x104], ebp
jb 0x10188660
mov ecx, dword [esp + 0xf0]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push ebx
lea edx, [esp + 0xa0]
push esi
push edx
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
call fcn.101878b0
add esp, 0xc
mov edi, eax
push 4
push 0x102919ac
lea ecx, [esp + 0x50]
mov byte [esp + 0x120], 9
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.10048340
push edi
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0xdc]
push ecx
mov byte [esp + 0x124], 0xa
call fcn.10187b70
add esp, 0xc
cmp dword [eax + 0x14], ebp
jb 0x101886d6
mov eax, dword [eax]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.10184dc0
mov dword [esp + 0x18], eax
cmp dword [esp + 0xe8], ebp
jb 0x10188707
mov edx, dword [esp + 0xd4]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, 0xf
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
cmp dword [esp + 0x5c], ebp
jb 0x10188734
mov eax, dword [esp + 0x48]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov byte [esp + 0x118], bl
cmp dword [esp + 0xb0], ebp
jb 0x10188760
mov ecx, dword [esp + 0x9c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x1c]
add dword [esp + 0x14], 4
inc esi
lea edx, [esi - 2]
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
cmp edx, dword [eax + 0x11c]
jl 0x101884f0
jmp 0x10188792
mov eax, edi
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.1015eea7
add esp, 0x108
ret 4