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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61539d
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x28], edi
mov ecx, dword [0x68615c]
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBMapPad____thiscall_BMBProduct::GetMapPad_void_]
push 0xb4
mov dword [esp + 0xb0], eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x5c], esi
mov dword [esp + 0xe8], edi
cmp esi, edi
je 0x4244ff
mov eax, dword [0x686164]
push 1
push edi
push eax
mov ecx, esi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMB2DStack::constructor_int__unsigned_char__unsigned_char_]
mov dword [esi], vtable.BMB2DStack.1.0
mov dword [esi + 0x70], vtable.BMB2DStack.0
mov dword [esp + 0x20], esi
jmp 0x424503
mov dword [esp + 0x20], edi
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push edi
push 1
sub esp, 8
mov eax, esp
mov dword [esp + 0x6c], esp
push eax
mov ecx, esi
mov dword [esp + 0xfc], 0xffffffff
call edx
lea eax, [esp + 0xe4]
push eax
mov ecx, ebx
call fcn.0041f700
mov edx, dword [esi]
mov eax, dword [edx + 0x7c]
mov ecx, esi
call eax
fstp qword [esp + 0x54]
mov edx, dword [edi]
mov eax, dword [edx + 0x40]
mov ecx, edi
call eax
fsubr qword [esp + 0x54]
test byte [edi + 0x3c], 2
fstp dword [esp + 0x10]
je 0x42457c
fldz
fld dword [esp + 0x10]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x42457a
fmul qword [0x633e08]
fstp dword [esp + 0x10]
jmp 0x42457c
fstp st(0)
fld dword [esp + 0x10]
inc dword [0x686164]
push ecx
mov ecx, dword [esp + 0x24]
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMB2DStack::PutRotation_float_]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push edi
push 1
sub esp, 8
mov eax, esp
mov dword [esp + 0x6c], esp
push eax
mov ecx, esi
call edx
lea eax, [esp + 0x64]
push eax
mov ecx, ebx
call fcn.0041f700
xor eax, eax
lea ecx, [esp + 0xb0]
mov dword [esp + 0x48], eax
mov dword [esp + 0xa4], eax
call fcn.005f3af0
lea ecx, [esp + 0xc8]
mov dword [esp + 0xe8], 1
call fcn.005f3af0
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
mov ecx, esi
mov byte [esp + 0xe8], 2
call eax
cmp eax, 0xf
jne 0x424639
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xcc]
push edx
lea eax, [esp + 0xb8]
push eax
mov ecx, esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0x30], 0
call fcn.004bf130
cmp dword [esp + 0xb0], 0
jle 0x424639
mov dword [esp + 0x48], 1
mov ecx, esi
call fcn.00470f00
mov ecx, eax
call fcn.004b9eb0
mov ecx, dword [ebx + 0x34]
push 0
push eax
call fcn.004b0b60
mov ecx, eax
call fcn.004b8050
mov ecx, dword [esp + 0x20]
mov edi, eax
test byte [edi + 0x20], 1
mov dword [esp + 0x34], edi
je 0x42466d
push 0
jmp 0x42466f
push 1
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMB2DStack::PutPlated_unsigned_char_]
cmp dword [ebx + 0x274], 1
jne 0x42486c
mov eax, dword [ebx + 0x2d8]
cmp eax, 2
je 0x424692
cmp eax, 4
jne 0x4246a4
mov ecx, dword [esp + 0x20]
call dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_char___thiscall_BMB2DStack::GetPlated_void_]
cmp al, 1
je 0x42486c
mov edx, dword [esi]
mov eax, dword [edx + 0xe0]
mov ecx, esi
call eax
test eax, eax
je 0x42486c
push 0
mov ecx, edi
call fcn.004b9f80
mov edx, dword [esi]
mov edx, dword [edx + 0xf4]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x14], 0
call edx
lea ecx, [esp + 0x38]
call fcn.005f3af0
mov ecx, dword [ebx + 0x48]
push 3
mov byte [esp + 0xec], 3
call fcn.004e2900
test eax, eax
je 0x42485b
push 0
push 0
lea ecx, [esp + 0x40]
push ecx
push eax
lea ecx, [ebx + 0x100]
call fcn.004067f0
test eax, eax
je 0x42485b
mov edx, dword [esp + 0x10]
push edx
mov ecx, ebx
call fcn.0041c560
cmp eax, 1
jne 0x42485b
cmp byte [ebx + 0x2a4], al
jne 0x42485b
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
push 0x80
mov dword [esp + 0x48], ecx
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x5c], edi
mov byte [esp + 0xe8], 4
test edi, edi
je 0x424782
mov edx, dword [0x686164]
push edx
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBHole::constructor_int_]
mov dword [edi], vtable.BMBHole.1.0
mov dword [edi + 0x70], vtable.BMBHole.0
jmp 0x424784
xor edi, edi
inc dword [0x686164]
mov eax, dword [esi]
mov edx, dword [eax + 0x7c]
mov ecx, esi
mov byte [esp + 0xe8], 3
call edx
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
call fcn.004ba2b0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
movzx ecx, word [eax + 0x20]
shr ecx, 2
and ecx, 1
mov dword [esp + 0x1c], ecx
push 0
lea ecx, [esp + 0xc0]
call fcn.005ed360
mov eax, dword [esi]
lea edx, [esp + 0x24]
push edx
mov edx, dword [eax + 0x5c]
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
mov byte [esp + 0xf0], 5
call edx
mov edx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0xd0]
push eax
push edi
mov ecx, ebx
call fcn.0041cce0
lea ecx, [esp + 0xbc]
mov byte [esp + 0xe8], 3
call fcn.005ed430
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBSymbol::PutLayerNumber_short_int_]
mov eax, dword [ebx + 0x278]
cmp eax, 1
je 0x424850
mov ecx, dword [esp + 0x20]
cmp eax, 2
jne 0x424846
call dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_char___thiscall_BMB2DStack::GetPlated_void_]
test al, al
jmp 0x42484e
call dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_char___thiscall_BMB2DStack::GetPlated_void_]
cmp al, 1
jne 0x42485b
mov ecx, dword [esp + 0x20]
push edi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMB2DStack::PutHole_class_BMBHole__]
lea ecx, [esp + 0x38]
mov byte [esp + 0xe8], 2
call fcn.005f3b00
movzx edi, word [esi + 0x5c]
movzx edx, word [esi + 0x5e]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x50], edx
call fcn.005f3af0
cmp dword [ebx + 0x2c0], 0
mov byte [esp + 0xe8], 6
jne 0x424f1f
cmp di, word [esp + 0x50]
movzx eax, di
mov dword [esp + 0x18], eax
jg 0x424f1f
nop
mov eax, dword [ebx + 0x48]
movzx ecx, word [esp + 0x18]
mov edx, dword [eax + 0x30]
cmp edx, ecx
jle 0x4248f6
mov edx, dword [eax + 0x34]
mov edi, dword [edx + ecx*4]
lea eax, [edx + ecx*4]
test edi, edi
je 0x4248f6
mov eax, dword [edi + 8]
test eax, eax
jne 0x4248f2
mov eax, dword [edi + 4]
and eax, 0x7f
mov dword [esp + 0x24], eax
call fcn.005018f0
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + ecx*4 - 4]
push edi
mov ecx, eax
call fcn.00500ce0
mov ecx, eax
jmp 0x4248f8
xor ecx, ecx
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
call eax
movzx ecx, ax
push ecx
mov ecx, dword [esp + 0x38]
call fcn.004b9ee0
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x424f0b
movzx ecx, word [esp + 0x18]
mov eax, dword [ebx + 0x48]
cmp dword [eax + 0x30], ecx
jle 0x42496b
mov edx, dword [eax + 0x34]
lea eax, [edx + ecx*4]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x42496b
mov eax, dword [eax + 8]
test eax, eax
jne 0x424965
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
and eax, 0x7f
mov dword [esp + 0x24], eax
call fcn.005018f0
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [esp + 0x1c]
push edx
mov ecx, eax
call fcn.00500ce0
mov dword [esp + 0x10], eax
jmp 0x424973
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.004b53a0
mov edx, dword [esp + 0x10]
push 0
push 0
lea ecx, [esp + 0x94]
push ecx
push edx
lea ecx, [ebx + 0x100]
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], 0
call fcn.004068b0
test eax, eax
je 0x424f0b
mov eax, dword [esp + 0x94]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x424f0b
cmp dword [esp + 0x48], 1
jne 0x424d5f
mov ecx, dword [ebx + 0x34]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
push edx
mov ecx, edi
call fcn.004c0cd0
mov ecx, dword [esp + 0x10]
movzx eax, ax
push eax
call fcn.004efc10
mov ecx, eax
call fcn.004c0720
mov dword [esp + 0x88], eax
test eax, eax
je 0x424f0b
mov ecx, eax
call fcn.004bfe00
test eax, eax
je 0x424f0b
cmp dword [esp + 0xb0], 0
mov dword [esp + 0x44], 0
jle 0x424d5f
lea ebx, [ebx]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x44]
movzx ecx, word [ecx + edx*2]
movsx eax, word [esp + 0x18]
cmp eax, ecx
jne 0x424d3a
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x48]
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], 0
call fcn.004070e0
mov ecx, dword [ebx + 0x34]
mov edi, dword [esi]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
mov ecx, eax
mov eax, dword [edx + 0x3c]
add edi, 0xec
call eax
movzx ecx, ax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004efc10
mov edx, dword [edi]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x424d3a
cmp word [eax + 4], 1
jb 0x424d3a
mov ecx, dword [esp + 0x88]
call fcn.004bfe00
push eax
lea ecx, [esp + 0x3c]
call fcn.005edd80
push 0x633ca0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xec], 7
call fcn.005edc30
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x2c]
push eax
lea ecx, [esp + 0x3c]
call fcn.005edc30
push 0x633ca0
lea ecx, [esp + 0x3c]
call fcn.005edc30
mov ecx, dword [ebp + 0x1c]
push ecx
lea ecx, [esp + 0x3c]
call fcn.005edd70
push 0x633ca0
lea ecx, [esp + 0x3c]
call fcn.005edc30
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x3c]
call fcn.005edd70
push 0x80
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x30], edi
mov byte [esp + 0xe8], 8
test edi, edi
je 0x424ba6
mov eax, dword [0x686164]
mov dword [esp + 0x10], eax
inc eax
sub esp, 0xc
mov dword [0x686164], eax
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call fcn.005edb30
lea ecx, [esp + 0x90]
push ecx
mov ecx, ebx
call fcn.00406f20
mov eax, dword [eax]
mov edx, dword [esp + 0x10]
or dword [esp + 0x28], 1
push eax
push 0
push edx
mov ecx, edi
mov byte [esp + 0xf4], 9
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBPad::constructor_int__unsigned_char__char_const__]
mov dword [edi], vtable.BMBPad.1.0
mov dword [edi + 0x70], vtable.BMBPad.0
mov dword [esp + 0x10], edi
jmp 0x424bae
mov dword [esp + 0x10], 0
test byte [esp + 0x28], 1
mov dword [esp + 0xe8], 7
je 0x424bd2
and dword [esp + 0x28], 0xfffffffe
lea ecx, [esp + 0x84]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
xor ecx, ecx
xor edi, edi
cmp cx, ax
jae 0x424c80
mov edx, dword [esi]
mov eax, dword [edx + 0x7c]
mov ecx, esi
call eax
fstp dword [esp + 0x80]
mov ecx, dword [esp + 0x34]
call fcn.004ba2b0
mov ecx, dword [esp + 0x34]
movzx edx, word [ecx + 0x20]
mov ecx, dword [esp + 0x2c]
shr edx, 2
mov dword [esp + 0xa8], eax
and edx, 1
mov dword [esp + 0xa0], edx
mov edx, dword [ecx + 8]
movzx eax, di
mov eax, dword [edx + eax*4]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
lea ecx, [esp + 0x80]
mov dword [esp + 0x30], eax
push ecx
lea eax, [esp + 0xc0]
push eax
mov ecx, esi
call edx
mov edx, dword [esp + 0x34]
push eax
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x4c]
push eax
push ecx
mov ecx, ebx
call fcn.0041cae0
mov edx, dword [esp + 0x2c]
movzx eax, word [edx + 4]
inc edi
movsx ecx, di
cmp ecx, eax
jl 0x424be6
lea ecx, [esp + 0x60]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov edx, dword [esp + 0x38]
push edx
lea ecx, [esp + 0x64]
mov byte [esp + 0xec], 0xb
call dword [sym.imp.mfc90.dll_Ordinal_820]
fldz
mov ax, word [esp + 0x1c]
fst dword [esp + 0x98]
mov ecx, dword [esp + 0x98]
fstp dword [esp + 0x9c]
mov edx, dword [esp + 0x9c]
sub esp, 0x10
mov word [esp + 0x74], ax
mov edi, esp
lea eax, [esp + 0x70]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x5c], esp
push eax
mov ecx, edi
mov dword [esp + 0x80], edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov cx, word [esp + 0x74]
mov word [edi + 4], cx
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x30]
mov dword [edi + 8], edx
mov eax, dword [esp + 0x7c]
push 0
mov dword [edi + 0xc], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMB2DStack::AddPad_class_BMBPad___struct_BMB_LinkPad_t_]
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xb0]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMapPad::AddElement_class_BMBPad__]
lea ecx, [esp + 0x60]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x38]
mov byte [esp + 0xe8], 6
call fcn.005ed430
mov eax, dword [esp + 0x44]
inc eax
cmp eax, dword [esp + 0xb0]
mov dword [esp + 0x44], eax
jl 0x424a30
cmp dword [esp + 0x24], 1
je 0x424f0b
mov edi, dword [esp + 0x14]
mov edx, dword [ebx + 0x34]
push 0
mov ecx, edi
mov dword [esp + 0x18], edx
call fcn.004c0cd0
mov ecx, dword [esp + 0x14]
movzx eax, ax
push eax
call fcn.004efc10
mov ecx, eax
call fcn.004c0720
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x14], ecx
push 1
mov ecx, edi
mov dword [esp + 0x8c], eax
call fcn.004c0cd0
mov ecx, dword [esp + 0x14]
movzx edx, ax
push edx
call fcn.004efc10
mov ecx, eax
call fcn.004c0720
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x34]
push 2
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.004c0cd0
movzx ecx, ax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004efc10
mov ecx, eax
call fcn.004c0720
mov edx, dword [ebx + 0x34]
push 3
mov ecx, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], edx
call fcn.004c0cd0
mov ecx, dword [esp + 0x14]
movzx eax, ax
push eax
call fcn.004efc10
mov ecx, eax
call fcn.004c0720
cmp dword [esp + 0x48], 0
mov dword [esp + 0x14], eax
jne 0x424e3e
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [ebx + 0x48]
call fcn.004070e0
cmp dword [eax + 0x34], 1
jne 0x424e2a
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x424e77
mov edi, dword [esp + 0x30]
jmp 0x424e6f
cmp dword [esp + 0x88], 0
je 0x424f0b
mov edi, dword [esp + 0x24]
jmp 0x424e6f
mov edx, dword [esp + 0x18]
push edx
mov ecx, esi
call fcn.004b53a0
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x14], ecx
push eax
mov ecx, edi
call fcn.004c0cd0
mov ecx, dword [esp + 0x14]
movzx edx, ax
push edx
call fcn.004efc10
mov ecx, eax
call fcn.004c0720
mov edi, eax
test edi, edi
je 0x424f0b
mov ecx, edi
call fcn.004bfe00
test eax, eax
je 0x424f0b
lea ecx, [esp + 0x70]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov ecx, edi
mov byte [esp + 0xe8], 0xc
call fcn.004bfe00
push eax
lea ecx, [esp + 0x74]
call dword [sym.imp.mfc90.dll_Ordinal_820]
fldz
mov ax, word [esp + 0x1c]
fst dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
fstp dword [esp + 0x58]
mov edx, dword [esp + 0x58]
sub esp, 0x10
mov word [esp + 0x84], ax
mov dword [esp + 0x88], ecx
lea eax, [esp + 0x80]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
mov dword [esp + 0x90], edx
call fcn.0040b340
mov ecx, dword [esp + 0x30]
push 0
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMB2DStack::AddPad_class_BMBPad___struct_BMB_LinkPad_t_]
lea ecx, [esp + 0x70]
mov byte [esp + 0xe8], 6
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x18]
inc eax
cmp ax, word [esp + 0x50]
mov dword [esp + 0x18], eax
jle 0x4248b0
cmp dword [ebx + 0x2c0], 1
je 0x42544f
mov eax, dword [ebx + 0x48]
xor ecx, ecx
cmp dword [eax + 0x3c], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], ecx
jle 0x42544f
movzx ecx, word [esp + 0x10]
mov edx, dword [eax + 0x40]
mov dword [esp + 0x30], ecx
movzx ecx, cx
mov edi, dword [edx + ecx*4]
lea eax, [edx + ecx*4]
test edi, edi
je 0x424f85
mov eax, dword [edi + 8]
test eax, eax
jne 0x424f81
mov eax, dword [edi + 4]
and eax, 0x7f
mov dword [esp + 0x14], eax
call fcn.005018f0
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + ecx*4 - 4]
push edi
mov ecx, eax
call fcn.00500ce0
mov edi, eax
jmp 0x424f87
xor edi, edi
push 0
push 0
lea edx, [esp + 0x94]
push edx
push edi
lea ecx, [ebx + 0x100]
call fcn.004068b0
test eax, eax
je 0x42543a
mov eax, dword [edi]
mov edx, dword [eax + 0x3c]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x34]
movzx eax, ax
push eax
call fcn.004b9f40
test eax, eax
je 0x42543a
mov ecx, dword [ebx + 0x34]
push eax
call fcn.004efc10
mov ecx, eax
call fcn.004c0720
mov dword [esp + 0x48], eax
test eax, eax
je 0x42543a
mov eax, dword [esi]
mov edx, dword [edi]
add eax, 0xdc
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x3c]
mov ecx, edi
call eax
mov edx, dword [esp + 0x14]
movzx ecx, ax
mov eax, dword [edx]
push ecx
mov ecx, esi
call eax
test eax, eax
je 0x42543a
mov ecx, dword [esp + 0xc8]
xor eax, eax
test ecx, ecx
jle 0x425037
mov edx, dword [esp + 0xd0]
nop
movzx edi, word [edx + eax*2]
cmp dword [esp + 0x10], edi
jne 0x425032
mov dword [esp + 0x24], 1
inc eax
cmp eax, ecx
jl 0x425020
cmp dword [esp + 0x24], 1
jne 0x42534e
mov edx, dword [esp + 0xa4]
mov edi, dword [edx]
mov edx, dword [esp + 0x30]
mov ecx, dword [ebx + 0x34]
lea eax, [esp + 0x18]
push eax
push edx
mov dword [esp + 0x20], 0
add edi, 0xf0
call fcn.004efc10
mov ecx, dword [esp + 0xac]
push eax
mov eax, dword [edi]
call eax
cmp dword [esp + 0x8c], 0
mov dword [esp + 0x2c], 0
jle 0x42543a
mov eax, dword [esp + 0x18]
test eax, eax
je 0x425333
cmp word [eax + 4], 1
jb 0x425333
mov ecx, dword [esp + 0x48]
call fcn.004bfe00
push eax
lea ecx, [esp + 0x3c]
call fcn.005edd80
push 0x633ca0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xec], 0xd
call fcn.005edc30
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 0x2c]
push eax
lea ecx, [esp + 0x3c]
call fcn.005edc30
push 0x633ca0
lea ecx, [esp + 0x3c]
call fcn.005edc30
mov edx, dword [ebp + 0x1c]
push edx
lea ecx, [esp + 0x3c]
call fcn.005edd70
push 0x633ca0
lea ecx, [esp + 0x3c]
call fcn.005edc30
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax + ecx*4]
push edx
lea ecx, [esp + 0x3c]
call fcn.005edd70
push 0x80
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x4c], edi
mov byte [esp + 0xe8], 0xe
test edi, edi
je 0x4251a0
mov eax, dword [0x686164]
mov dword [esp + 0x14], eax
inc eax
sub esp, 0xc
mov dword [0x686164], eax
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.005edb30
lea ecx, [esp + 0xac]
push ecx
mov ecx, ebx
call fcn.00406f20
mov eax, dword [eax]
mov edx, dword [esp + 0x14]
or dword [esp + 0x28], 2
push eax
push 0
push edx
mov ecx, edi
mov byte [esp + 0xf4], 0xf
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBPad::constructor_int__unsigned_char__char_const__]
mov dword [edi], vtable.BMBPad.1.0
mov dword [edi + 0x70], vtable.BMBPad.0
mov dword [esp + 0x1c], edi
jmp 0x4251a8
mov dword [esp + 0x1c], 0
test byte [esp + 0x28], 2
mov dword [esp + 0xe8], 0xd
je 0x4251cc
and dword [esp + 0x28], 0xfffffffd
lea ecx, [esp + 0xa0]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
xor ecx, ecx
xor edi, edi
cmp cx, ax
jae 0x42527a
mov edx, dword [esi]
mov eax, dword [edx + 0x7c]
mov ecx, esi
call eax
fstp dword [esp + 0xa8]
mov ecx, dword [esp + 0x34]
call fcn.004ba2b0
mov ecx, dword [esp + 0x34]
movzx edx, word [ecx + 0x20]
mov ecx, dword [esp + 0x18]
shr edx, 2
mov dword [esp + 0x80], eax
and edx, 1
mov dword [esp + 0x84], edx
mov edx, dword [ecx + 8]
movzx eax, di
mov eax, dword [edx + eax*4]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x14], eax
push ecx
lea eax, [esp + 0xc0]
push eax
mov ecx, esi
call edx
mov edx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x4c]
push eax
push ecx
mov ecx, ebx
call fcn.0041cae0
mov edx, dword [esp + 0x18]
movzx eax, word [edx + 4]
inc edi
movsx ecx, di
cmp ecx, eax
jl 0x4251e0
lea ecx, [esp + 0x60]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov edx, dword [esp + 0x38]
push edx
lea ecx, [esp + 0x64]
mov byte [esp + 0xec], 0x11
call dword [sym.imp.mfc90.dll_Ordinal_820]
fldz
mov eax, dword [esp + 0x94]
fst dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
fstp dword [esp + 0x58]
mov dx, word [eax + ecx*4]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
sub esp, 0x10
mov word [esp + 0x74], dx
mov edi, esp
lea edx, [esp + 0x70]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x5c], esp
push edx
mov ecx, edi
mov dword [esp + 0x7c], eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov ax, word [esp + 0x74]
mov word [edi + 4], ax
mov ecx, dword [esp + 0x78]
mov dword [edi + 8], ecx
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x30]
push 0
mov dword [edi + 0xc], edx
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMB2DStack::AddPad_class_BMBPad___struct_BMB_LinkPad_t_]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xac]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMapPad::AddElement_class_BMBPad__]
lea ecx, [esp + 0x60]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x38]
mov byte [esp + 0xe8], 6
call fcn.005ed430
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
inc ecx
cmp ecx, dword [esp + 0x8c]
mov dword [esp + 0x2c], ecx
jl 0x425091
jmp 0x42543a
cmp dword [esp + 0x8c], 0
mov dword [esp + 0x1c], 0
jle 0x42543a
fldz
fst dword [esp + 0x98]
fstp dword [esp + 0x9c]
lea ecx, [esp + 0x70]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov ecx, dword [esp + 0x48]
mov byte [esp + 0xe8], 0x12
call fcn.004bfe00
push eax
lea ecx, [esp + 0x74]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x1c]
mov ax, word [ecx + edx*4]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
sub esp, 0x10
mov word [esp + 0x84], ax
mov edi, esp
lea eax, [esp + 0x80]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x5c], esp
push eax
mov ecx, edi
mov dword [esp + 0x90], edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov cx, word [esp + 0x84]
mov word [edi + 4], cx
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x30]
mov dword [edi + 8], edx
mov eax, dword [esp + 0x8c]
push 0
mov dword [edi + 0xc], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMB2DStack::AddPad_class_BMBPad___struct_BMB_LinkPad_t_]
lea ecx, [esp + 0x70]
mov byte [esp + 0xe8], 6
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x8c]
mov dword [esp + 0x1c], eax
jl 0x425374
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x48]
inc ecx
cmp ecx, dword [eax + 0x3c]
mov dword [esp + 0x10], ecx
jl 0x424f42
push 0xa0
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
mov byte [esp + 0xe8], 0x13
test esi, esi
je 0x4254c2
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xd4]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
push eax
mov ecx, ebx
mov dword [esp + 0x34], edx
call fcn.0042afc0
push ecx
lea ecx, [esp + 0x34]
fstp dword [esp]
push ecx
mov ecx, ebx
call fcn.0042afc0
mov edx, dword [0x686164]
push ecx
fstp dword [esp]
push edx
mov ecx, esi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMountPin::constructor_int__float__float_]
mov dword [esi], vtable.BMBMountPin.1.0
mov dword [esi + 0x70], vtable.BMBMountPin.0
jmp 0x4254c4
xor esi, esi
mov ax, word [esp + 0x50]
mov byte [esp + 0xe8], 6
mov ecx, esi
cmp word [esp + 0x5c], ax
jne 0x4254de
push 2
jmp 0x4254e0
push 1
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMountPin::PutPinType_unsigned_char_]
mov ecx, dword [esp + 0x20]
inc dword [0x686164]
push ecx
mov ecx, esi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMountPin::AddStack_class_BMB2DStack__]
mov ecx, dword [ebp + 8]
push esi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBFootprint::AddMountPin_class_BMBMountPin__]
lea ecx, [esp + 0x8c]
mov byte [esp + 0xe8], 2
call fcn.005f3b00
lea ecx, [esp + 0xc8]
mov byte [esp + 0xe8], 1
call fcn.005f3b00
lea ecx, [esp + 0xb0]
mov dword [esp + 0xe8], 0xffffffff
call fcn.005f3b00
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18