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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61194c
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [0x683034]
push ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBSheet____thiscall_BMBProduct::GetSheet_int_]
mov dword [esp + 0x30], eax
test eax, eax
je 0x410682
mov eax, dword [esi + 0x54]
push eax
lea ecx, [esp + 0x68]
call fcn.00475b20
lea ecx, [esp + 0x64]
call fcn.0048b120
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x410682
mov edi, ecx
mov dword [esp + 0x18], edi
test ecx, ecx
je 0x41066d
call fcn.004c0690
cmp dword [edi + 0x60], 0
mov dword [esp + 0x20], 0
jbe 0x41066d
mov edx, dword [edi]
mov eax, dword [esp + 0x20]
mov edx, dword [edx + 0x58]
push eax
mov ecx, edi
call edx
mov ebp, eax
mov dword [esp + 0x2c], ebp
test ebp, ebp
je 0x41065b
push ebp
lea ecx, [esp + 0x28]
call fcn.004ba9c0
push 0x631c94
lea ecx, [esp + 0x5c]
mov dword [esp + 0xac], 0
call fcn.005ec6d0
mov ecx, ebp
mov byte [esp + 0xa8], 1
call fcn.00479f10
test eax, eax
je 0x41029a
mov ecx, ebp
call fcn.00479f10
mov eax, dword [eax + 0x34]
push eax
jmp 0x41029f
push str.TmpNet
lea ecx, [esp + 0x5c]
call fcn.005ec540
lea ecx, [esp + 0x24]
call fcn.004ba9e0
lea ecx, [esp + 0x24]
call fcn.004baa40
test eax, eax
je 0x410636
lea ecx, [esp + 0x24]
call fcn.004baa40
mov edi, eax
push edi
mov ecx, esi
call fcn.0040c9e0
cmp eax, 1
jne 0x410618
sub esp, 0xc
lea eax, [esp + 0x64]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.005ec480
mov ecx, esi
call fcn.0040b480
test eax, eax
jne 0x410366
push 0x120
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
add esp, 4
mov dword [esp + 0x1c], ebp
mov byte [esp + 0xa8], 2
test ebp, ebp
je 0x410341
mov ecx, dword [esp + 0x58]
mov edx, dword [0x68303c]
push ecx
push 0
push edx
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBNet::constructor_int__unsigned_char__char_const__]
mov dword [ebp], vtable.BMBNet.1.0
mov dword [ebp + 0x6c], vtable.BMBNet.0
jmp 0x410343
xor ebp, ebp
mov ecx, dword [esp + 0x30]
inc dword [0x68303c]
push ebp
mov byte [esp + 0xac], 1
mov dword [esp + 0x20], ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBSheet::AddNet_class_BMBNet__]
mov ebp, dword [esp + 0x2c]
jmp 0x410376
mov ecx, dword [esp + 0x30]
dec eax
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBNet____thiscall_BMBSheet::GetNet_int_]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], 0
je 0x410618
mov ecx, ebp
call fcn.00472cc0
mov ecx, eax
call fcn.004a9350
push eax
lea ecx, [esp + 0x80]
call fcn.005ec6d0
mov eax, dword [edi]
mov edx, dword [eax + 0xb8]
mov ecx, edi
mov byte [esp + 0xa8], 3
call edx
push eax
lea ecx, [esp + 0x8c]
call fcn.005ec6d0
mov eax, dword [edi]
mov edx, dword [eax + 0xb0]
mov ecx, edi
mov byte [esp + 0xa8], 4
call edx
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
mov edx, dword [edx + 0x5c]
push ecx
cmp eax, 1
setne al
push 1
sub esp, 8
mov byte [esp + 0x64], al
mov eax, esp
mov dword [esp + 0x24], esp
push eax
mov ecx, edi
call edx
lea eax, [esp + 0xa4]
push eax
mov ecx, esi
call fcn.0041f310
mov ecx, dword [eax + 4]
mov edx, dword [edi]
mov ebp, dword [eax]
mov eax, dword [edx + 0x7c]
mov dword [esp + 0x74], ecx
mov ecx, edi
call eax
fcomp dword [0x631d50]
mov edx, dword [edi]
mov ecx, edi
fnstsw ax
test ah, 1
mov eax, dword [edx + 0x7c]
jne 0x410434
call eax
fadd qword [0x632648]
jmp 0x41043c
call eax
fsub qword [0x632648]
mov ecx, dword [esp + 0x18]
fstp qword [esp + 0x34]
call fcn.00470040
fld qword [esp + 0x34]
mov di, ax
call fcn.005f9c80
mov ecx, dword [esp + 0x18]
sub ax, di
test byte [ecx + 0x3c], 2
movzx eax, ax
mov dword [esp + 0x14], eax
je 0x410472
neg eax
movzx edx, ax
mov dword [esp + 0x14], edx
push 0x9c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x78], edi
mov byte [esp + 0xa8], 5
test edi, edi
je 0x41059b
movsx edx, word [esp + 0x14]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x74]
push ecx
mov dword [esp + 0x18], edx
push ecx
fild dword [esp + 0x1c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
mov ecx, esi
fstp dword [esp]
push eax
mov dword [esp + 0x50], ebp
call fcn.0042ac80
push ecx
lea ecx, [esp + 0x50]
fstp dword [esp]
push ecx
mov ecx, esi
call fcn.0042ac80
sub esp, 0x10
lea edx, [esp + 0x98]
fstp dword [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.005ec480
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call fcn.0042ad00
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [ecx + 0x2c]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x54], esp
or ebx, 1
push eax
mov byte [esp + 0xcc], 6
mov dword [esp + 0x38], ebx
call fcn.005ec6d0
lea edx, [esp + 0x60]
push edx
mov ecx, esi
call fcn.0042ad00
mov eax, dword [eax]
push eax
push 0xffffffffffffffff
push 1
sub esp, 0xc
lea eax, [esp + 0xb4]
mov ecx, esp
mov dword [esp + 0x60], esp
or ebx, 2
push eax
mov dword [esp + 0xd8], 7
mov dword [esp + 0x44], ebx
call fcn.005ec480
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
call fcn.0042ad00
mov eax, dword [eax]
mov edx, dword [0x68303c]
push eax
or ebx, 4
push edx
mov ecx, edi
mov dword [esp + 0xd0], 8
mov dword [esp + 0x3c], ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBTestPoint::constructor_int__char_const___unsigned_char__long_int__char_const___char_const___float__float__float__unsigned_char_]
mov dword [edi], vtable.BMBTestPoint.1.0
mov dword [edi + 0x6c], vtable.BMBTestPoint.0
jmp 0x41059d
xor edi, edi
test bl, 4
je 0x4105af
lea ecx, [esp + 0x4c]
and ebx, 0xfffffffb
call dword [sym.imp.mfc90.dll_Ordinal_601]
test bl, 2
je 0x4105c1
lea ecx, [esp + 0x40]
and ebx, 0xfffffffd
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0xa8], 4
test bl, 1
je 0x4105de
lea ecx, [esp + 0x50]
and ebx, 0xfffffffe
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x1c]
push edi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBNet::AddTestPoint_class_BMBTestPoint__]
inc dword [0x68303c]
lea ecx, [esp + 0x88]
mov byte [esp + 0xa8], 3
call fcn.005ebd80
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 1
call fcn.005ebd80
mov ebp, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
call fcn.004baa10
lea ecx, [esp + 0x24]
call fcn.004baa40
test eax, eax
jne 0x4102c2
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x58]
mov byte [esp + 0xa8], 0
call fcn.005ebd80
lea ecx, [esp + 0x24]
mov dword [esp + 0xa8], 0xffffffff
call fcn.0051a4a0
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [edi + 0x60]
jb 0x41023b
lea ecx, [esp + 0x64]
call fcn.004a8cd0
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jne 0x410216
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret