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

Disassembly:
push 0xffffffffffffffff
push 0x60f124
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
push 0x24
mov dword [esp + 0x18], ebx
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0xb0], ebx
cmp esi, ebx
je 0x41d5a4
mov ecx, esi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMapPackage::constructor_void_]
mov dword [esi], vtable.BMBMapPackage.0
mov dword [esp + 0x24], esi
jmp 0x41d5a8
mov dword [esp + 0x24], ebx
mov ecx, dword [0x67df84]
mov dword [esp + 0xb0], 0xffffffff
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBMapFootprint____thiscall_BMBProduct::GetMapFootprint_void_]
lea ecx, [esp + 0x3c]
call fcn.00405fd0
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0xb4], 1
call fcn.005e99d0
cmp dword [edi + 0xe4], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], ebx
jle 0x41dbcf
xor esi, esi
mov dword [esp + 0x18], esi
jmp 0x41d600
cmp ebx, dword [edi + 0xe8]
lea ebp, [edi + 0xe8]
jge 0x41d615
mov eax, dword [ebp + 8]
add eax, esi
jmp 0x41d61d
push ebx
mov ecx, ebp
call fcn.00401670
mov ecx, eax
call fcn.00401290
test eax, eax
jne 0x41dbb0
cmp ebx, dword [ebp]
jge 0x41d638
mov eax, dword [ebp + 8]
add eax, esi
jmp 0x41d640
push ebx
mov ecx, ebp
call fcn.00401670
mov ecx, eax
call fcn.004dc160
push 0x62dc24
lea ecx, [esp + 0x4c]
mov esi, eax
call fcn.005e9060
push 0x62dc24
lea ecx, [esp + 0x34]
mov byte [esp + 0xb4], 2
call fcn.005e9060
mov ecx, esi
mov byte [esp + 0xb0], 3
call fcn.0046cfe0
test eax, eax
je 0x41d698
mov ecx, esi
call fcn.0046cfe0
mov ecx, eax
call fcn.004ae370
push eax
lea ecx, [esp + 0x4c]
call fcn.005e8ed0
mov ecx, esi
call fcn.004de490
test eax, eax
je 0x41d6bb
mov ecx, esi
call fcn.004de490
mov ecx, eax
call fcn.004ae370
push eax
lea ecx, [esp + 0x34]
call fcn.005e8ed0
lea ecx, [esp + 0x5c]
call fcn.00405fd0
push 0
lea ecx, [esp + 0x60]
mov byte [esp + 0xb4], 4
call fcn.0042f080
push 0
lea eax, [edi + 0x1e8]
push eax
push esi
lea ecx, [esp + 0x98]
mov dword [esp + 0x68], 0
call fcn.0042f050
push 1
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x94]
mov byte [esp + 0xb8], 5
call fcn.00430cf0
cmp eax, 1
jne 0x41d745
test byte [esi + 0x3c], 2
push 0x62dc28
je 0x41d72f
lea ecx, [esp + 0x34]
call fcn.005e8f10
lea ecx, [esp + 0x30]
jmp 0x41d73c
lea ecx, [esp + 0x4c]
call fcn.005e8f10
lea ecx, [esp + 0x48]
mov eax, dword [esi + 0x2c]
push eax
call fcn.005e8f10
mov ecx, esi
call fcn.004dc2d0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x41da24
mov eax, dword [esp + 0x3c]
xor ebp, ebp
mov dword [esp + 0x28], eax
test eax, eax
jle 0x41d7f0
xor esi, esi
lea esp, [esp]
cmp ebx, dword [edi + 0xe8]
lea ecx, [edi + 0xe8]
jge 0x41d787
mov eax, dword [ecx + 8]
add eax, dword [esp + 0x18]
jmp 0x41d78d
push ebx
call fcn.00401670
lea edx, [esp + 0x74]
push edx
mov ecx, eax
call fcn.00401370
mov ecx, dword [eax]
mov eax, dword [esp + 0x44]
mov eax, dword [esi + eax]
test eax, eax
je 0x41d836
test ecx, ecx
je 0x41d831
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41d82a
test dl, dl
je 0x41d7ce
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41d82a
add eax, 2
add ecx, 2
test dl, dl
jne 0x41d7b2
xor eax, eax
test eax, eax
lea ecx, [esp + 0x74]
sete bl
call fcn.005e8710
test bl, bl
jne 0x41d841
mov ebx, dword [esp + 0x20]
inc ebp
add esi, 0xc
cmp ebp, dword [esp + 0x28]
jl 0x41d770
push 0x88
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
mov byte [esp + 0xb0], 6
test esi, esi
je 0x41d8e1
cmp ebx, dword [edi + 0xe8]
lea ecx, [edi + 0xe8]
jge 0x41d891
mov eax, dword [ecx + 8]
add eax, dword [esp + 0x18]
jmp 0x41d897
sbb eax, eax
sbb eax, 0xffffffff
jmp 0x41d7d0
movsx eax, byte [eax]
jmp 0x41d7d0
test ecx, ecx
je 0x41d7ce
movsx eax, byte [ecx]
neg eax
jmp 0x41d7d0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xb0], 4
call fcn.0042f020
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb0], 3
call fcn.0042f020
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 2
call fcn.005e8710
lea ecx, [esp + 0x48]
mov byte [esp + 0xb0], 1
call fcn.005e8710
mov ebx, dword [esp + 0x20]
jmp 0x41dbb0
push ebx
call fcn.00401670
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, eax
call fcn.00401370
lea edx, [esp + 0x7c]
push edx
mov ecx, edi
call fcn.004277f0
mov eax, dword [eax]
or dword [esp + 0x14], 1
push eax
mov eax, dword [0x67df8c]
push eax
mov ecx, esi
mov byte [esp + 0xb8], 7
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBPackage::constructor_int__char_const__]
mov dword [esi], vtable.BMBPackage.1.0
mov dword [esi + 0x6c], vtable.BMBPackage.0
jmp 0x41d8e3
xor esi, esi
test byte [esp + 0x14], 1
mov dword [esp + 0xb0], 5
je 0x41d904
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x70]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x1c]
inc dword [0x67df8c]
call fcn.004ac1d0
mov ecx, esi
cmp eax, 1
jne 0x41d91e
push 2
jmp 0x41d920
push 1
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBPackage::PutPkgType_unsigned_char_]
sub esp, 0xc
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.005e8e10
lea eax, [esp + 0x78]
push eax
mov ecx, edi
call fcn.004277f0
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [esp + 0xb4], 9
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBPackage::PutFootNameA_char_const__]
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb0], 5
call dword [sym.imp.mfc90.dll_Ordinal_601]
sub esp, 0xc
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.005e8e10
lea eax, [esp + 0x74]
push eax
mov ecx, edi
call fcn.004277f0
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [esp + 0xb4], 0xa
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBPackage::PutFootNameB_char_const__]
lea ecx, [esp + 0x68]
mov byte [esp + 0xb0], 5
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x24]
push esi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMapPackage::AddElement_class_BMBPackage__]
cmp ebx, dword [edi + 0xe8]
lea ecx, [edi + 0xe8]
jge 0x41d9d0
mov eax, dword [ecx + 8]
add eax, dword [esp + 0x18]
jmp 0x41d9d6
push ebx
call fcn.00401670
lea ecx, [esp + 0x80]
push ecx
mov ecx, eax
call fcn.00401370
mov esi, eax
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0xb4], 0xb
call fcn.005e99d0
mov ecx, dword [esi + 4]
mov esi, dword [esi]
push ecx
push esi
mov ecx, eax
call fcn.005e8730
lea ecx, [esp + 0x80]
mov byte [esp + 0xb0], 5
call fcn.005e8710
jmp 0x41db69
push 0x88
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov byte [esp + 0xb0], 0xc
test esi, esi
je 0x41daa3
cmp ebx, dword [ebp]
jge 0x41da51
mov eax, dword [ebp + 8]
add eax, dword [esp + 0x18]
jmp 0x41da59
push ebx
mov ecx, ebp
call fcn.00401670
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x34], esp
push ecx
mov ecx, eax
call fcn.00401370
lea edx, [esp + 0x60]
push edx
mov ecx, edi
call fcn.004277f0
mov eax, dword [eax]
or dword [esp + 0x14], 2
push eax
mov eax, dword [0x67df8c]
push eax
mov ecx, esi
mov byte [esp + 0xb8], 0xd
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBPackage::constructor_int__char_const__]
mov dword [esi], vtable.BMBPackage.1.0
mov dword [esi + 0x6c], vtable.BMBPackage.0
jmp 0x41daa5
xor esi, esi
test byte [esp + 0x14], 2
mov dword [esp + 0xb0], 5
je 0x41dac6
and dword [esp + 0x14], 0xfffffffd
lea ecx, [esp + 0x54]
call dword [sym.imp.mfc90.dll_Ordinal_601]
inc dword [0x67df8c]
push 0
mov ecx, esi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBPackage::PutPkgType_unsigned_char_]
sub esp, 0xc
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.005e8e10
lea eax, [esp + 0x64]
push eax
mov ecx, edi
call fcn.004277f0
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [esp + 0xb4], 0xf
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBPackage::PutFootNameA_char_const__]
lea ecx, [esp + 0x58]
mov byte [esp + 0xb0], 5
call dword [sym.imp.mfc90.dll_Ordinal_601]
sub esp, 0xc
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.005e8e10
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.004277f0
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [esp + 0xb4], 0x10
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBPackage::PutFootNameB_char_const__]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb0], 5
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x24]
push esi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMapPackage::AddElement_class_BMBPackage__]
lea ecx, [esp + 0x9c]
mov byte [esp + 0xb0], 4
call fcn.0042f020
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb0], 3
call fcn.0042f020
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 2
call fcn.005e8710
lea ecx, [esp + 0x48]
mov byte [esp + 0xb0], 1
call fcn.005e8710
mov esi, dword [esp + 0x18]
inc ebx
add esi, 0x94
cmp ebx, dword [edi + 0xe4]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], esi
jl 0x41d600
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [0x67df84]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBProduct::PutMapPackage_class_BMBMapPackage__]
lea ecx, [esp + 0x3c]
mov dword [esp + 0xb0], 0xffffffff
call fcn.005e9950
mov eax, 1
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret