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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x611a3d
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x6c], edi
mov eax, 1
cmp dword [edi + 0x344], eax
je 0x41136a
mov ecx, dword [0x683034]
xor ebx, ebx
push ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBSheet____thiscall_BMBProduct::GetSheet_int_]
mov ebp, eax
mov dword [esp + 0x78], ebp
cmp ebp, ebx
jne 0x41071c
xor eax, eax
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x54]
push eax
lea ecx, [esp + 0xb4]
call fcn.00475a10
lea esi, [edi + 0x80]
push ebx
mov ecx, esi
call fcn.005ed0b0
mov ecx, ebp
mov dword [esi], ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_class_CTypedPtrArray_class_CPtrArray__class_BMBPart______thiscall_BMBSheet::GetPartArray_void_]
lea ecx, [esp + 0xa4]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x5c], 1
call fcn.005ebb00
lea ecx, [esp + 0xb0]
mov dword [esp + 0xf0], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x60], ebx
call fcn.0048b120
mov esi, dword [esp + 0xb8]
cmp esi, ebx
je 0x411347
mov eax, dword [esi + 0x34]
inc dword [esp + 0x5c]
lea ebx, [esi + 0x34]
push eax
lea ecx, [esp + 0xc4]
mov dword [esp + 0x44], ebx
call fcn.005ec6d0
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [edi + 0x80]
mov byte [esp + 0xf4], 1
call fcn.005ed310
lea ecx, [esp + 0xc0]
mov byte [esp + 0xf0], 0
call fcn.005ebd80
mov eax, dword [ebx]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.005ec6d0
lea edx, [esp + 0x74]
push edx
mov ecx, edi
call fcn.0042ad00
mov ax, word [esi + 0x50]
and ax, 3
mov byte [esp + 0xf0], 2
cmp ax, 1
jne 0x41080d
mov byte [esp + 0x64], al
jmp 0x41081c
cmp ax, 2
setne al
dec al
and al, 2
mov byte [esp + 0x64], al
push 0x631c94
lea ecx, [esp + 0xa8]
call fcn.005ec540
mov eax, dword [ebx]
mov ecx, dword [edi + 0x50]
push eax
call fcn.0047e5f0
mov ebx, eax
test ebx, ebx
je 0x410861
mov ecx, dword [edi + 0x50]
push ecx
mov ecx, ebx
call fcn.00485da0
test eax, eax
je 0x410861
mov ecx, eax
call fcn.00503030
push eax
lea ecx, [esp + 0xa8]
call fcn.005ec540
push 0x120
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
add esp, 4
mov dword [esp + 0x20], ebp
mov byte [esp + 0xf0], 3
test ebp, ebp
je 0x4108ad
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov ecx, dword [0x68303c]
push edx
push eax
push ecx
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
mov dword [esp + 0x24], ebp
jmp 0x4108b3
xor ebp, ebp
mov dword [esp + 0x24], ebp
inc dword [0x68303c]
sub esp, 0xc
lea edx, [esp + 0xb0]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x100], 2
call fcn.005ec480
lea eax, [esp + 0xac]
push eax
mov ecx, edi
call fcn.0042ad00
mov eax, dword [eax]
push eax
mov ecx, ebp
mov byte [esp + 0xf4], 4
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBNet::PutEnetName_char_const__]
lea ecx, [esp + 0xa0]
mov byte [esp + 0xf0], 2
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, esi
call fcn.00475cc0
movzx eax, ax
test ax, ax
jbe 0x410964
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call fcn.00475cc0
movzx ecx, ax
push ecx
lea ecx, [edi + 0x100]
call fcn.00406a70
movzx eax, byte [esp + 0x60]
movzx edx, byte [esp + 0x54]
movzx ecx, byte [esp + 0x50]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
push eax
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBNet::PutColor_unsigned_long_int_]
push esi
lea ecx, [esp + 0x4c]
call fcn.00475b70
lea ecx, [esp + 0x48]
mov byte [esp + 0xf0], 5
call fcn.00475b90
lea ecx, [esp + 0x48]
call fcn.004baa40
test eax, eax
je 0x410b2b
lea ecx, [esp + 0x48]
call fcn.004baa40
mov esi, eax
mov ecx, esi
call fcn.00472cc0
mov ecx, esi
mov ebp, eax
call fcn.004a7a50
mov ecx, ebp
call fcn.004a9350
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.004a7a50
mov ebp, eax
mov eax, dword [ebp + 0x60]
xor edi, edi
add eax, 0xffffffff
mov dword [esp + 0x34], ebp
je 0x410a18
lea ecx, [ecx]
mov edx, dword [ebp]
mov eax, dword [edx + 0x58]
mov esi, dword [esp + 0x38]
push edi
mov ecx, ebp
call eax
mov ecx, eax
call fcn.00472e10
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x410a06
test cl, cl
je 0x410a02
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x410a06
add eax, 2
add esi, 2
test cl, cl
jne 0x4109e6
xor eax, eax
jmp 0x410a0b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x410a18
mov eax, dword [ebp + 0x60]
inc edi
dec eax
cmp edi, eax
jb 0x4109d0
mov eax, dword [esp + 0x3c]
inc edi
movzx ecx, di
xor ebp, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], ebp
cmp eax, ebp
je 0x410aed
mov eax, dword [eax + 8]
cmp eax, ebp
jle 0x410aed
test ebp, ebp
jl 0x4113a5
cmp ebp, eax
jge 0x4113a5
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
mov esi, dword [eax + ebp*4]
lea ecx, [esp + 0x98]
push ecx
mov ecx, esi
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBPart::GetRefName_void_]
mov eax, dword [eax]
mov ecx, dword [esp + 0x6c]
push eax
lea edx, [esp + 0xd0]
push edx
mov byte [esp + 0xf8], 6
call fcn.00406f30
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 0x2c]
push ecx
push eax
mov byte [esp + 0xf8], 7
call fcn.005ec420
add esp, 8
lea ecx, [esp + 0xcc]
mov edi, eax
mov byte [esp + 0xf0], 6
call fcn.005ebd80
lea ecx, [esp + 0x98]
mov byte [esp + 0xf0], 5
call dword [sym.imp.mfc90.dll_Ordinal_601]
test edi, edi
jne 0x410add
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 8]
inc ebp
cmp ebp, eax
jl 0x410a3d
jmp 0x410aed
mov ecx, esi
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
mov dword [esp + 0x38], eax
test eax, eax
jne 0x410af5
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBNet::AddPin_int__short_int_]
lea ecx, [esp + 0x48]
call fcn.00475ba0
lea ecx, [esp + 0x48]
call fcn.004baa40
test eax, eax
jne 0x410990
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x24]
test ebx, ebx
je 0x4112fe
push 0x631c94
lea ecx, [esp + 0x2c]
call fcn.005ec6d0
push ebx
lea ecx, [esp + 0x1f]
mov byte [esp + 0xf4], 8
call fcn.00432370
test eax, eax
je 0x410b6d
push eax
lea ecx, [esp + 0x1f]
call fcn.00432580
push ecx
mov ecx, ebp
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBNet::PutVoltage_float_]
cmp dword [edi + 0x2f0], 1
jne 0x410d32
push 0x28
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov byte [esp + 0xf0], 9
test esi, esi
je 0x410ba6
mov ecx, esi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBElecAttr::constructor_void_]
mov dword [esi], vtable.BMBElecAttr.0
jmp 0x410ba8
xor esi, esi
push esi
mov ecx, ebp
mov byte [esp + 0xf4], 8
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBNet::PutElecAttr_class_BMBElecAttr__]
push 1
push ebx
lea ecx, [esp + 0x23]
call fcn.004323a0
test eax, eax
je 0x410bdf
push eax
lea ecx, [esp + 0x1f]
call fcn.00432580
push ecx
mov ecx, esi
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBElecAttr::PutHighpeakVtg_float_]
push 0
push ebx
lea ecx, [esp + 0x23]
call fcn.004323a0
test eax, eax
je 0x410c05
push eax
lea ecx, [esp + 0x1f]
call fcn.00432580
push ecx
mov ecx, esi
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBElecAttr::PutLowpeakVtg_float_]
push ebx
lea ecx, [esp + 0x1f]
call fcn.004325f0
push eax
lea ecx, [esp + 0x2c]
call fcn.005ec540
sub esp, 0xc
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.005ec480
lea eax, [esp + 0x80]
push eax
mov ecx, edi
call fcn.0042ad00
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [esp + 0xf4], 0xa
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBElecAttr::PutEPotentialGrp_char_const__]
lea ecx, [esp + 0x74]
mov byte [esp + 0xf0], 8
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x631c94
lea ecx, [esp + 0x2c]
call fcn.005ec540
push ebx
lea ecx, [esp + 0x1f]
call fcn.00432620
push eax
lea ecx, [esp + 0x2c]
call fcn.005ec540
sub esp, 0xc
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.005ec480
lea eax, [esp + 0x7c]
push eax
mov ecx, edi
call fcn.0042ad00
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [esp + 0xf4], 0xb
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBElecAttr::PutPhase_char_const__]
lea ecx, [esp + 0x70]
mov byte [esp + 0xf0], 8
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, ebx
call fcn.00495ae0
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
push ecx
mov ecx, esi
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBElecAttr::PutPeriod_float_]
mov ecx, ebx
call fcn.00495b00
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
push ecx
mov ecx, esi
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBElecAttr::PutDuty_float_]
mov ecx, ebx
call fcn.00488020
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
push ecx
mov ecx, esi
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBElecAttr::PutRiseTime_float_]
mov ecx, ebx
call fcn.0049a280
fstp dword [esp + 0x1c]
push ecx
fld dword [esp + 0x20]
mov ecx, esi
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBElecAttr::PutVoltAmplitude_float_]
cmp dword [edi + 0x2f4], 1
jne 0x411007
push 0x2c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov byte [esp + 0xf0], 0xc
test esi, esi
je 0x410d6b
mov ecx, esi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBEMAttr::constructor_void_]
mov dword [esi], vtable.BMBEMAttr.0
jmp 0x410d6d
xor esi, esi
push esi
mov ecx, ebp
mov byte [esp + 0xf4], 8
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBNet::PutEMAttr_class_BMBEMAttr__]
push 0x631c94
lea ecx, [esp + 0x2c]
call fcn.005ec540
push ebx
lea ecx, [esp + 0x1f]
call fcn.004324b0
sub eax, 1
je 0x410dbe
sub eax, 1
je 0x410db7
sub eax, 1
lea ecx, [esp + 0x28]
je 0x410db0
push 0x632764
jmp 0x410dc7
push str.ZDIR
jmp 0x410dc7
push str.4DIR
jmp 0x410dc3
push 0x632750
lea ecx, [esp + 0x2c]
call fcn.005ec540
sub esp, 0xc
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.005ec480
lea eax, [esp + 0xa0]
push eax
mov ecx, edi
call fcn.0042ad00
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [esp + 0xf4], 0xd
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBEMAttr::PutShield_char_const__]
lea ecx, [esp + 0x94]
mov byte [esp + 0xf0], 8
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x631c94
lea ecx, [esp + 0x2c]
call fcn.005ec540
mov eax, dword [ebx + 0x28]
push eax
lea ecx, [esp + 0x2c]
call fcn.005ec540
sub esp, 0xc
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.005ec480
lea eax, [esp + 0x8c]
push eax
mov ecx, edi
call fcn.0042ad00
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [esp + 0xf4], 0xe
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBEMAttr::PutShieldNetName_char_const__]
lea ecx, [esp + 0x80]
mov byte [esp + 0xf0], 8
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [ebx + 0x5c]
lea edx, [esp + 0x34]
mov dword [esp + 0x34], ecx
push edx
mov ecx, edi
call fcn.0042ac80
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
push ecx
mov ecx, esi
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBEMAttr::PutShieldGap_float_]
push ebx
lea ecx, [esp + 0x1f]
mov dword [esp + 0x5c], 0
call fcn.004323d0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
push eax
mov ecx, edi
call fcn.0042ac80
push ecx
mov ecx, esi
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBEMAttr::PutXtalkMax_float_]
push 0x631c94
lea ecx, [esp + 0x2c]
call fcn.005ec540
push ebx
lea ecx, [esp + 0x1f]
call fcn.004322d0
dec eax
cmp eax, 3
ja case.default.0x410eee
jmp dword [eax*4 + 0x4113ac]
push str.NO_CARE
jmp 0x410f16
push str.ACTIVE
jmp 0x410f16
push str.PASSIVE
jmp 0x410f16
push str.ACTIVE_PASSIVE
jmp 0x410f16
push 0x631c94
lea ecx, [esp + 0x2c]
call fcn.005ec540
sub esp, 0xc
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.005ec480
lea eax, [esp + 0x88]
push eax
mov ecx, edi
call fcn.0042ad00
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [esp + 0xf4], 0xf
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBEMAttr::PutXtalkType_char_const__]
lea ecx, [esp + 0x7c]
mov byte [esp + 0xf0], 8
call dword [sym.imp.mfc90.dll_Ordinal_601]
push str.crsTkIntensity
push ebx
lea ecx, [esp + 0x23]
call fcn.00432650
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
push ecx
mov ecx, esi
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBEMAttr::PutXtalkIntensity_float_]
push ebx
lea ecx, [esp + 0x1f]
call fcn.00432440
cmp eax, 1
sete cl
mov byte [esp + 0x90], cl
mov edx, dword [esp + 0x90]
push edx
mov ecx, esi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBEMAttr::SetGroundProhibit_bool_]
push str.maxWireCapacitance
push ebx
lea ecx, [esp + 0x23]
call fcn.00432650
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
push ecx
mov ecx, esi
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBEMAttr::PutMaxWireCap_float_]
push 0x631c94
lea ecx, [esp + 0x2c]
call fcn.005ec540
push str.powerNetGroup
push ebx
lea ecx, [esp + 0x23]
call fcn.00432410
push eax
lea ecx, [esp + 0x2c]
call fcn.005ec540
mov eax, dword [esp + 0x28]
push eax
mov ecx, esi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBEMAttr::PutPowerNetGroup_char_const__]
mov ecx, dword [edi + 0x50]
mov eax, dword [ecx + 0x194]
xor edx, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], 0
cmp dx, ax
jae 0x411117
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x50]
push eax
call fcn.0047e6f0
mov esi, eax
test esi, esi
je 0x4110ff
mov ebp, dword [esi + 0x14]
xor ecx, ecx
xor ebx, ebx
cmp cx, bp
jae 0x4110ff
mov edi, edi
push ebx
mov ecx, esi
call fcn.004847d0
test eax, eax
je 0x4110f5
mov edx, dword [esp + 0x40]
mov ecx, dword [eax + 0x20]
mov eax, dword [edx]
test eax, eax
je 0x41109d
test ecx, ecx
je 0x411098
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x411091
test dl, dl
je 0x41108d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x411091
add eax, 2
add ecx, 2
test dl, dl
jne 0x411071
xor eax, eax
jmp 0x4110a6
sbb eax, eax
sbb eax, 0xffffffff
jmp 0x4110a6
movsx eax, byte [eax]
jmp 0x4110a6
test ecx, ecx
je 0x4110aa
movsx eax, byte [ecx]
neg eax
test eax, eax
jne 0x4110f5
mov eax, dword [esi + 0x58]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.005ec6d0
lea eax, [esp + 0x94]
push eax
mov ecx, edi
call fcn.0042ad00
mov eax, dword [eax]
mov ecx, dword [esp + 0x24]
push eax
mov byte [esp + 0xf4], 0x10
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBNet::AddNetGroup_char_const__]
lea ecx, [esp + 0x88]
mov byte [esp + 0xf0], 8
call dword [sym.imp.mfc90.dll_Ordinal_601]
inc ebx
cmp bx, bp
jb 0x411050
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp ax, word [esp + 0x34]
jb 0x411027
mov ebp, dword [esp + 0x24]
mov ecx, dword [edi + 0x50]
mov eax, dword [ecx + 0x1a0]
xor edx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
cmp dx, ax
jae 0x4112ed
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x50]
push eax
call fcn.0047e7a0
mov ebx, eax
mov dword [esp + 0x38], ebx
test ebx, ebx
je 0x4112d9
mov eax, dword [ebx + 0x1c]
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x24], esi
cmp cx, ax
jae 0x4112d9
lea ecx, [ecx]
push esi
mov ecx, ebx
call fcn.0047be20
mov dword [esp + 0x40], eax
test eax, eax
je 0x4112c6
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBNet::GetNetGroupCnt_void_]
mov ebx, eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x34], ebx
call dword [sym.imp.mfc90.dll_Ordinal_316]
xor esi, esi
mov byte [esp + 0xf0], 0x11
test ebx, ebx
jle 0x4112ac
mov edi, edi
push esi
lea edx, [esp + 0x90]
push edx
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBNet::GetNetGroup_int_]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xf4], 0x12
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x8c]
mov byte [esp + 0xf0], 0x11
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0xdc]
push ecx
mov ecx, edi
call fcn.00406f30
mov eax, dword [eax]
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 0x58]
test eax, eax
je 0x411393
test ecx, ecx
je 0x41138b
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x411381
test dl, dl
je 0x41123a
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x411381
add eax, 2
add ecx, 2
test dl, dl
jne 0x411216
xor eax, eax
test eax, eax
lea ecx, [esp + 0xd8]
sete bl
call fcn.005ebd80
test bl, bl
je 0x4112a1
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x10]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0xc8], esp
push eax
call fcn.005ec6d0
lea ecx, [esp + 0xa8]
push ecx
mov ecx, edi
call fcn.0042ad00
mov eax, dword [eax]
push eax
mov ecx, ebp
mov byte [esp + 0xf4], 0x13
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBNet::AddNetGroupGroup_char_const__]
lea ecx, [esp + 0x9c]
mov byte [esp + 0xf0], 0x11
call dword [sym.imp.mfc90.dll_Ordinal_601]
inc esi
cmp esi, dword [esp + 0x34]
jl 0x4111b0
lea ecx, [esp + 0x44]
mov byte [esp + 0xf0], 8
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x24]
inc esi
mov dword [esp + 0x24], esi
cmp si, word [esp + 0x84]
jb 0x411170
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp ax, word [esp + 0x20]
jb 0x411137
lea ecx, [esp + 0x28]
mov byte [esp + 0xf0], 5
call fcn.005ebd80
mov ecx, dword [esp + 0x78]
push ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBSheet::AddNet_class_BMBNet__]
lea ecx, [esp + 0x48]
mov byte [esp + 0xf0], 2
call fcn.0051a4a0
lea ecx, [esp + 0x68]
mov byte [esp + 0xf0], 0
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0xb0]
call fcn.004a8cd0
mov esi, dword [esp + 0xb8]
test esi, esi
jne 0x41078a
mov ecx, edi
call fcn.004101a0
lea ecx, [esp + 0xa4]
mov dword [esp + 0xf0], 0xffffffff
call fcn.005ebd80
mov eax, 1
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
sbb eax, eax
sbb eax, 0xffffffff
jmp 0x41123c
movsx eax, byte [eax]
jmp 0x41123c
test ecx, ecx
je 0x41123a
movsx eax, byte [ecx]
neg eax
jmp 0x41123c
call fcn.005fa780
mov edi, edi
cmc
push cs
inc ecx
add ah, bh
push cs
inc ecx
add byte [ebx], al
cmovno eax, dword [eax]
or cl, byte [edi]
inc ecx
add ah, cl
int3