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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61343d
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push ebx
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x2c], edi
mov ecx, dword [0x683034]
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBMapPad____thiscall_BMBProduct::GetMapPad_void_]
push 0xb0
mov dword [esp + 0xb8], eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0xf0], edi
cmp esi, edi
je 0x4241af
mov eax, dword [0x68303c]
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 + 0x6c], vtable.BMB2DStack.0
mov dword [esp + 0x28], esi
jmp 0x4241b3
mov dword [esp + 0x28], 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 + 0x74], esp
push eax
mov ecx, esi
mov dword [esp + 0x104], 0xffffffff
call edx
lea eax, [esp + 0xec]
push eax
mov ecx, ebx
call fcn.0041f310
mov edx, dword [esi]
mov eax, dword [edx + 0x7c]
mov ecx, esi
call eax
fcomp dword [0x631d50]
mov edx, dword [esi]
mov ecx, esi
fnstsw ax
test ah, 1
mov eax, dword [edx + 0x7c]
jne 0x424210
call eax
fadd qword [0x632648]
jmp 0x424218
call eax
fsub qword [0x632648]
mov ecx, edi
fstp qword [esp + 0x54]
call fcn.00470040
fld qword [esp + 0x54]
mov di, ax
call fcn.005f9c80
sub ax, di
mov edi, dword [ebp + 0x18]
test byte [edi + 0x3c], 2
movzx eax, ax
je 0x424243
neg eax
movzx eax, ax
inc dword [0x68303c]
movsx ecx, ax
mov dword [esp + 0x1c], ecx
push ecx
fild dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
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 + 0x74], esp
push eax
mov ecx, esi
call edx
lea eax, [esp + 0x64]
push eax
mov ecx, ebx
call fcn.0041f310
xor eax, eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0x4c], eax
mov dword [esp + 0xac], eax
call fcn.005f1fa0
lea ecx, [esp + 0xd0]
mov dword [esp + 0xf0], 1
call fcn.005f1fa0
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
mov ecx, esi
mov byte [esp + 0xf0], 2
call eax
cmp eax, 0xf
jne 0x424307
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xd4]
push edx
lea eax, [esp + 0xc0]
push eax
mov ecx, esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0x28], 0
call fcn.004be360
cmp dword [esp + 0xb8], 0
jle 0x424307
mov dword [esp + 0x4c], 1
mov ecx, esi
call fcn.004c0690
mov ecx, eax
call fcn.004b90c0
mov ecx, dword [ebx + 0x34]
push 0
push eax
call fcn.004afd30
mov ecx, eax
call fcn.004b71c0
mov ecx, dword [esp + 0x28]
mov edi, eax
test byte [edi + 0x20], 1
mov dword [esp + 0x38], edi
je 0x42433b
push 0
jmp 0x42433d
push 1
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMB2DStack::PutPlated_unsigned_char_]
cmp dword [ebx + 0x274], 1
jne 0x424537
mov eax, dword [ebx + 0x2d8]
cmp eax, 2
je 0x424360
cmp eax, 4
jne 0x424372
mov ecx, dword [esp + 0x28]
call dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_char___thiscall_BMB2DStack::GetPlated_void_]
cmp al, 1
je 0x424537
mov edx, dword [esi]
mov eax, dword [edx + 0xe0]
mov ecx, esi
call eax
test eax, eax
je 0x424537
push 0
mov ecx, edi
call fcn.004b9190
mov edx, dword [esi]
mov edx, dword [edx + 0xf4]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x1c], 0
call edx
lea ecx, [esp + 0x3c]
call fcn.005f1fa0
mov ecx, dword [ebx + 0x48]
push 3
mov byte [esp + 0xf4], 3
call fcn.004e1bd0
test eax, eax
je 0x424526
push 0
push 0
lea ecx, [esp + 0x44]
push ecx
push eax
lea ecx, [ebx + 0x100]
call fcn.00406800
test eax, eax
je 0x424526
mov edx, dword [esp + 0x18]
push edx
mov ecx, ebx
call fcn.0041c1a0
cmp eax, 1
jne 0x424526
cmp byte [ebx + 0x2a4], al
jne 0x424526
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
push 0x7c
mov dword [esp + 0x4c], ecx
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x64], edi
mov byte [esp + 0xf0], 4
test edi, edi
je 0x42444d
mov edx, dword [0x68303c]
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 + 0x6c], vtable.BMBHole.0
jmp 0x42444f
xor edi, edi
inc dword [0x68303c]
mov eax, dword [esi]
mov edx, dword [eax + 0x7c]
mov ecx, esi
mov byte [esp + 0xf0], 3
call edx
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
call fcn.004b94c0
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
movzx ecx, word [eax + 0x20]
shr ecx, 2
and ecx, 1
mov dword [esp + 0x24], ecx
push 0
lea ecx, [esp + 0xc8]
call fcn.005ebcb0
mov eax, dword [esi]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [eax + 0x5c]
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
mov byte [esp + 0xf8], 5
call edx
mov edx, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
lea eax, [esp + 0xd8]
push eax
push edi
mov ecx, ebx
call fcn.0041c920
lea ecx, [esp + 0xc4]
mov byte [esp + 0xf0], 3
call fcn.005ebd80
mov ecx, dword [esp + 0x48]
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 0x42451b
mov ecx, dword [esp + 0x28]
cmp eax, 2
jne 0x424511
call dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_char___thiscall_BMB2DStack::GetPlated_void_]
test al, al
jmp 0x424519
call dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_char___thiscall_BMB2DStack::GetPlated_void_]
cmp al, 1
jne 0x424526
mov ecx, dword [esp + 0x28]
push edi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMB2DStack::PutHole_class_BMBHole__]
lea ecx, [esp + 0x3c]
mov byte [esp + 0xf0], 2
call fcn.005f1f90
movzx edi, word [esi + 0x5c]
movzx edx, word [esi + 0x5e]
lea ecx, [esp + 0x94]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], edx
call fcn.005f1fa0
cmp dword [ebx + 0x2c0], 0
mov byte [esp + 0xf0], 6
jne 0x424bf5
cmp di, word [esp + 0x60]
movzx eax, di
mov dword [esp + 0x20], eax
jg 0x424bf5
lea ebx, [ebx]
mov eax, dword [ebx + 0x48]
movzx ecx, word [esp + 0x20]
mov edx, dword [eax + 0x30]
cmp edx, ecx
jle 0x4245c6
mov edx, dword [eax + 0x34]
mov edi, dword [edx + ecx*4]
lea eax, [edx + ecx*4]
test edi, edi
je 0x4245c6
mov eax, dword [edi + 8]
test eax, eax
jne 0x4245c2
mov eax, dword [edi + 4]
and eax, 0x7f
mov dword [esp + 0x1c], eax
call fcn.00500b30
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + ecx*4 - 4]
push edi
mov ecx, eax
call fcn.004fffc0
mov ecx, eax
jmp 0x4245c8
xor ecx, ecx
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
call eax
movzx ecx, ax
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.004b90f0
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x424be1
movzx ecx, word [esp + 0x20]
mov eax, dword [ebx + 0x48]
cmp dword [eax + 0x30], ecx
jle 0x42463b
mov edx, dword [eax + 0x34]
lea eax, [edx + ecx*4]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
test eax, eax
je 0x42463b
mov eax, dword [eax + 8]
test eax, eax
jne 0x424635
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
and eax, 0x7f
mov dword [esp + 0x1c], eax
call fcn.00500b30
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [esp + 0x24]
push edx
mov ecx, eax
call fcn.004fffc0
mov dword [esp + 0x18], eax
jmp 0x424643
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
call fcn.004b44c0
mov edx, dword [esp + 0x18]
push 0
push 0
lea ecx, [esp + 0x9c]
push ecx
push edx
lea ecx, [ebx + 0x100]
mov dword [esp + 0x58], eax
mov dword [esp + 0x2c], 0
call fcn.004068c0
test eax, eax
je 0x424be1
mov eax, dword [esp + 0x9c]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
test eax, eax
je 0x424be1
cmp dword [esp + 0x4c], 1
jne 0x424a35
mov ecx, dword [ebx + 0x34]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
push edx
mov ecx, edi
call fcn.004bfe90
mov ecx, dword [esp + 0x18]
movzx eax, ax
push eax
call fcn.004b7a50
mov ecx, eax
call fcn.004bf850
mov dword [esp + 0x90], eax
test eax, eax
je 0x424be1
mov ecx, eax
call fcn.004bf030
test eax, eax
je 0x424be1
cmp dword [esp + 0xb8], 0
mov dword [esp + 0x48], 0
jle 0x424a35
lea ebx, [ebx]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0x48]
movzx ecx, word [ecx + edx*2]
movsx eax, word [esp + 0x20]
cmp eax, ecx
jne 0x424a10
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 0x48]
push edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x34], 0
call fcn.004070b0
mov ecx, dword [ebx + 0x34]
mov edi, dword [esi]
lea edx, [esp + 0x30]
push edx
mov edx, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, eax
mov eax, dword [edx + 0x3c]
add edi, 0xec
call eax
movzx ecx, ax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.004b7a50
mov edx, dword [edi]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x424a10
cmp word [eax + 4], 1
jb 0x424a10
mov ecx, dword [esp + 0x90]
call fcn.004bf030
push eax
lea ecx, [esp + 0x40]
call fcn.005ec6d0
push 0x631c98
lea ecx, [esp + 0x40]
mov byte [esp + 0xf4], 7
call fcn.005ec580
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x2c]
push eax
lea ecx, [esp + 0x40]
call fcn.005ec580
push 0x631c98
lea ecx, [esp + 0x40]
call fcn.005ec580
mov ecx, dword [ebp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
call fcn.005ec6c0
push 0x631c98
lea ecx, [esp + 0x40]
call fcn.005ec580
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x40]
call fcn.005ec6c0
push 0x7c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x34], edi
mov byte [esp + 0xf0], 8
test edi, edi
je 0x424873
mov eax, dword [0x68303c]
mov dword [esp + 0x18], eax
inc eax
sub esp, 0xc
mov dword [0x68303c], eax
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.005ec480
lea ecx, [esp + 0x98]
push ecx
mov ecx, ebx
call fcn.0042ad00
mov eax, dword [eax]
mov edx, dword [esp + 0x18]
or dword [esp + 0x2c], 1
push eax
push 0
push edx
mov ecx, edi
mov byte [esp + 0xfc], 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 + 0x6c], vtable.BMBPad.0
mov dword [esp + 0x18], edi
jmp 0x42487b
mov dword [esp + 0x18], 0
test byte [esp + 0x2c], 1
mov dword [esp + 0xf0], 7
je 0x42489f
and dword [esp + 0x2c], 0xfffffffe
lea ecx, [esp + 0x8c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
xor ecx, ecx
xor edi, edi
cmp cx, ax
jae 0x42494d
mov edx, dword [esi]
mov eax, dword [edx + 0x7c]
mov ecx, esi
call eax
fstp dword [esp + 0x88]
mov ecx, dword [esp + 0x38]
call fcn.004b94c0
mov ecx, dword [esp + 0x38]
movzx edx, word [ecx + 0x20]
mov ecx, dword [esp + 0x30]
shr edx, 2
mov dword [esp + 0xb0], eax
and edx, 1
mov dword [esp + 0xa8], 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 + 0x88]
mov dword [esp + 0x34], eax
push ecx
lea eax, [esp + 0xc8]
push eax
mov ecx, esi
call edx
mov edx, dword [esp + 0x38]
push eax
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0x28]
push edx
lea eax, [esp + 0x50]
push eax
push ecx
mov ecx, ebx
call fcn.0041c720
mov edx, dword [esp + 0x30]
movzx eax, word [edx + 4]
inc edi
movsx ecx, di
cmp ecx, eax
jl 0x4248b3
lea ecx, [esp + 0x68]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xf4], 0xb
call dword [sym.imp.mfc90.dll_Ordinal_820]
fldz
mov ax, word [esp + 0x24]
fst dword [esp + 0xa0]
mov ecx, dword [esp + 0xa0]
fstp dword [esp + 0xa4]
mov edx, dword [esp + 0xa4]
sub esp, 0x10
mov word [esp + 0x7c], ax
mov edi, esp
lea eax, [esp + 0x78]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x60], esp
push eax
mov ecx, edi
mov dword [esp + 0x88], edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov cx, word [esp + 0x7c]
mov word [edi + 4], cx
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x38]
mov dword [edi + 8], edx
mov eax, dword [esp + 0x84]
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 + 0x18]
push ecx
mov ecx, dword [esp + 0xb8]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMapPad::AddElement_class_BMBPad__]
lea ecx, [esp + 0x68]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x3c]
mov byte [esp + 0xf0], 6
call fcn.005ebd80
mov eax, dword [esp + 0x48]
inc eax
cmp eax, dword [esp + 0xb8]
mov dword [esp + 0x48], eax
jl 0x424700
cmp dword [esp + 0x1c], 1
je 0x424be1
mov edi, dword [esp + 0x14]
mov edx, dword [ebx + 0x34]
push 0
mov ecx, edi
mov dword [esp + 0x18], edx
call fcn.004bfe90
mov ecx, dword [esp + 0x14]
movzx eax, ax
push eax
call fcn.004b7a50
mov ecx, eax
call fcn.004bf850
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x14], ecx
push 1
mov ecx, edi
mov dword [esp + 0x94], eax
call fcn.004bfe90
mov ecx, dword [esp + 0x14]
movzx edx, ax
push edx
call fcn.004b7a50
mov ecx, eax
call fcn.004bf850
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x34]
push 2
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.004bfe90
movzx ecx, ax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004b7a50
mov ecx, eax
call fcn.004bf850
mov edx, dword [ebx + 0x34]
push 3
mov ecx, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], edx
call fcn.004bfe90
mov ecx, dword [esp + 0x14]
movzx eax, ax
push eax
call fcn.004b7a50
mov ecx, eax
call fcn.004bf850
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x14], eax
jne 0x424b14
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [ebx + 0x48]
call fcn.004070b0
cmp dword [eax + 0x34], 1
jne 0x424b00
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x424b4d
mov edi, dword [esp + 0x34]
jmp 0x424b45
cmp dword [esp + 0x90], 0
je 0x424be1
mov edi, dword [esp + 0x1c]
jmp 0x424b45
mov edx, dword [esp + 0x20]
push edx
mov ecx, esi
call fcn.004b44c0
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x14], ecx
push eax
mov ecx, edi
call fcn.004bfe90
mov ecx, dword [esp + 0x14]
movzx edx, ax
push edx
call fcn.004b7a50
mov ecx, eax
call fcn.004bf850
mov edi, eax
test edi, edi
je 0x424be1
mov ecx, edi
call fcn.004bf030
test eax, eax
je 0x424be1
lea ecx, [esp + 0x78]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov ecx, edi
mov byte [esp + 0xf0], 0xc
call fcn.004bf030
push eax
lea ecx, [esp + 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_820]
fldz
mov ax, word [esp + 0x24]
fst dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
fstp dword [esp + 0x58]
mov edx, dword [esp + 0x58]
sub esp, 0x10
mov word [esp + 0x8c], ax
mov dword [esp + 0x90], ecx
lea eax, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
mov dword [esp + 0x98], edx
call fcn.0040b350
mov ecx, dword [esp + 0x38]
push 0
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMB2DStack::AddPad_class_BMBPad___struct_BMB_LinkPad_t_]
lea ecx, [esp + 0x78]
mov byte [esp + 0xf0], 6
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x20]
inc eax
cmp ax, word [esp + 0x60]
mov dword [esp + 0x20], eax
jle 0x424580
cmp dword [ebx + 0x2c0], 1
je 0x42513b
mov eax, dword [ebx + 0x48]
xor ecx, ecx
cmp dword [eax + 0x3c], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
jle 0x42513b
jmp 0x424c20
movzx ecx, word [esp + 0x18]
mov edx, dword [eax + 0x40]
mov dword [esp + 0x34], ecx
movzx ecx, cx
mov edi, dword [edx + ecx*4]
lea eax, [edx + ecx*4]
test edi, edi
je 0x424c63
mov eax, dword [edi + 8]
test eax, eax
jne 0x424c5f
mov eax, dword [edi + 4]
and eax, 0x7f
mov dword [esp + 0x14], eax
call fcn.00500b30
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + ecx*4 - 4]
push edi
mov ecx, eax
call fcn.004fffc0
mov edi, eax
jmp 0x424c65
xor edi, edi
push 0
push 0
lea edx, [esp + 0x9c]
push edx
push edi
lea ecx, [ebx + 0x100]
call fcn.004068c0
test eax, eax
je 0x425126
mov eax, dword [edi]
mov edx, dword [eax + 0x3c]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x38]
movzx eax, ax
push eax
call fcn.004b9150
test eax, eax
je 0x425126
mov ecx, dword [ebx + 0x34]
push eax
call fcn.004b7a50
mov ecx, eax
call fcn.004bf850
mov dword [esp + 0x4c], eax
test eax, eax
je 0x425126
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 0x425126
mov ecx, dword [esp + 0xd0]
xor eax, eax
test ecx, ecx
jle 0x424d17
mov edx, dword [esp + 0xd8]
lea ecx, [ecx]
movzx edi, word [edx + eax*2]
cmp dword [esp + 0x18], edi
jne 0x424d12
mov dword [esp + 0x1c], 1
inc eax
cmp eax, ecx
jl 0x424d00
cmp dword [esp + 0x1c], 1
jne 0x42503a
mov edx, dword [esp + 0xac]
mov edi, dword [edx]
mov edx, dword [esp + 0x34]
mov ecx, dword [ebx + 0x34]
lea eax, [esp + 0x20]
push eax
push edx
mov dword [esp + 0x28], 0
add edi, 0xf0
call fcn.004b7a50
mov ecx, dword [esp + 0xb4]
push eax
mov eax, dword [edi]
call eax
cmp dword [esp + 0x94], 0
mov dword [esp + 0x30], 0
jle 0x425126
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42501f
cmp word [eax + 4], 1
jb 0x42501f
mov ecx, dword [esp + 0x4c]
call fcn.004bf030
push eax
lea ecx, [esp + 0x40]
call fcn.005ec6d0
push 0x631c98
lea ecx, [esp + 0x40]
mov byte [esp + 0xf4], 0xd
call fcn.005ec580
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 0x2c]
push eax
lea ecx, [esp + 0x40]
call fcn.005ec580
push 0x631c98
lea ecx, [esp + 0x40]
call fcn.005ec580
mov edx, dword [ebp + 0x1c]
push edx
lea ecx, [esp + 0x40]
call fcn.005ec6c0
push 0x631c98
lea ecx, [esp + 0x40]
call fcn.005ec580
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x30]
mov edx, dword [eax + ecx*4]
push edx
lea ecx, [esp + 0x40]
call fcn.005ec6c0
push 0x7c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x50], edi
mov byte [esp + 0xf0], 0xe
test edi, edi
je 0x424e7d
mov eax, dword [0x68303c]
mov dword [esp + 0x14], eax
inc eax
sub esp, 0xc
mov dword [0x68303c], eax
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.005ec480
lea ecx, [esp + 0xb4]
push ecx
mov ecx, ebx
call fcn.0042ad00
mov eax, dword [eax]
mov edx, dword [esp + 0x14]
or dword [esp + 0x2c], 2
push eax
push 0
push edx
mov ecx, edi
mov byte [esp + 0xfc], 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 + 0x6c], vtable.BMBPad.0
mov dword [esp + 0x24], edi
jmp 0x424e85
mov dword [esp + 0x24], 0
test byte [esp + 0x2c], 2
mov dword [esp + 0xf0], 0xd
je 0x424ea9
and dword [esp + 0x2c], 0xfffffffd
lea ecx, [esp + 0xa8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
xor ecx, ecx
xor edi, edi
cmp cx, ax
jae 0x424f5a
lea ecx, [ecx]
mov edx, dword [esi]
mov eax, dword [edx + 0x7c]
mov ecx, esi
call eax
fstp dword [esp + 0xb0]
mov ecx, dword [esp + 0x38]
call fcn.004b94c0
mov ecx, dword [esp + 0x38]
movzx edx, word [ecx + 0x20]
mov ecx, dword [esp + 0x20]
shr edx, 2
mov dword [esp + 0x88], eax
and edx, 1
mov dword [esp + 0x8c], 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 + 0xb0]
mov dword [esp + 0x14], eax
push ecx
lea eax, [esp + 0xc8]
push eax
mov ecx, esi
call edx
mov edx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x34]
push edx
lea eax, [esp + 0x50]
push eax
push ecx
mov ecx, ebx
call fcn.0041c720
mov edx, dword [esp + 0x20]
movzx eax, word [edx + 4]
inc edi
movsx ecx, di
cmp ecx, eax
jl 0x424ec0
lea ecx, [esp + 0x68]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xf4], 0x11
call dword [sym.imp.mfc90.dll_Ordinal_820]
fldz
mov eax, dword [esp + 0x9c]
fst dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
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 + 0x7c], dx
mov edi, esp
lea edx, [esp + 0x78]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x60], esp
push edx
mov ecx, edi
mov dword [esp + 0x84], eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov ax, word [esp + 0x7c]
mov word [edi + 4], ax
mov ecx, dword [esp + 0x80]
mov dword [edi + 8], ecx
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x38]
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 + 0x24]
mov ecx, dword [esp + 0xb4]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMapPad::AddElement_class_BMBPad__]
lea ecx, [esp + 0x68]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x3c]
mov byte [esp + 0xf0], 6
call fcn.005ebd80
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
inc ecx
cmp ecx, dword [esp + 0x94]
mov dword [esp + 0x30], ecx
jl 0x424d71
jmp 0x425126
cmp dword [esp + 0x94], 0
mov dword [esp + 0x24], 0
jle 0x425126
fldz
fst dword [esp + 0xa0]
fstp dword [esp + 0xa4]
lea ecx, [esp + 0x78]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0xf0], 0x12
call fcn.004bf030
push eax
lea ecx, [esp + 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x24]
mov ax, word [ecx + edx*4]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
sub esp, 0x10
mov word [esp + 0x8c], ax
mov edi, esp
lea eax, [esp + 0x88]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x60], esp
push eax
mov ecx, edi
mov dword [esp + 0x98], edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov cx, word [esp + 0x8c]
mov word [edi + 4], cx
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x38]
mov dword [edi + 8], edx
mov eax, dword [esp + 0x94]
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 + 0x78]
mov byte [esp + 0xf0], 6
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x24]
inc eax
cmp eax, dword [esp + 0x94]
mov dword [esp + 0x24], eax
jl 0x425060
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x48]
inc ecx
cmp ecx, dword [eax + 0x3c]
mov dword [esp + 0x18], ecx
jl 0x424c20
push 0x9c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x50], esi
mov byte [esp + 0xf0], 0x13
test esi, esi
je 0x4251ae
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0xdc]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
push eax
mov ecx, ebx
mov dword [esp + 0x38], edx
call fcn.0042ac80
push ecx
lea ecx, [esp + 0x38]
fstp dword [esp]
push ecx
mov ecx, ebx
call fcn.0042ac80
mov edx, dword [0x68303c]
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 + 0x6c], vtable.BMBMountPin.0
jmp 0x4251b0
xor esi, esi
mov ax, word [esp + 0x60]
mov byte [esp + 0xf0], 6
mov ecx, esi
cmp word [esp + 0x64], ax
jne 0x4251ca
push 2
jmp 0x4251cc
push 1
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMountPin::PutPinType_unsigned_char_]
mov ecx, dword [esp + 0x28]
inc dword [0x68303c]
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 + 0x94]
mov byte [esp + 0xf0], 2
call fcn.005f1f90
lea ecx, [esp + 0xd0]
mov byte [esp + 0xf0], 1
call fcn.005f1f90
lea ecx, [esp + 0xb8]
mov dword [esp + 0xf0], 0xffffffff
call fcn.005f1f90
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18