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

Disassembly:
push 0xffffffffffffffff
push 0x6160ec
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [0x68615c]
push 0
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBSheet____thiscall_BMBProduct::GetSheet_int_]
mov ecx, eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBBoard____thiscall_BMBSheet::GetBoard_void_]
mov ebx, dword [esp + 0x84]
mov ebp, eax
mov ecx, ebx
mov dword [esp + 0x1c], ebp
call fcn.004f36a0
mov ecx, eax
call fcn.0048b150
mov esi, eax
mov ecx, esi
call fcn.0047d460
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x20], eax
test eax, eax
jg 0x42cfc8
mov dword [esp + 0x20], 0
mov ecx, esi
call fcn.0047d460
mov edi, dword [eax + 0x24]
test ebp, ebp
je 0x42d093
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
xor edx, edx
mov ecx, 0x411
cmp ax, cx
mov ecx, dword [esp + 0x14]
sete dl
push edi
mov ebp, edx
call fcn.0042ac60
test eax, eax
je 0x42d005
cmp ebp, 1
jne 0x42d052
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x90], esp
push edi
call fcn.005edd80
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x90]
push eax
call fcn.00406f20
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x7c], 0
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBBoard::PutMaterial_char_const__]
lea ecx, [esp + 0x84]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, esi
call fcn.0047d460
fld dword [eax + 0x30]
fstp dword [esp + 0x84]
fldz
fcom dword [esp + 0x84]
fnstsw ax
test ah, 0x41
jne 0x42d07c
fstp dword [esp + 0x84]
jmp 0x42d07e
fstp st(0)
fld dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x20]
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBBoard::PutTConductive_float_]
mov esi, dword [esp + 0x80]
xor ebp, ebp
mov ecx, esi
mov dword [esp + 0x84], ebp
call fcn.004f3500
test eax, eax
je 0x42d6b9
fldz
lea ecx, [esp + 0x40]
fst dword [esp + 0x80]
fstp dword [esp + 0x18]
call fcn.005f3af0
xor edi, edi
push edi
lea ecx, [esp + 0x44]
mov dword [esp + 0x7c], 1
call fcn.005f3c00
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], edi
call fcn.005f3af0
push edi
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 2
call fcn.005f3c00
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], edi
call fcn.005f3af0
push edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x7c], 3
call fcn.005ee750
push 0x633c9c
lea ecx, [esp + 0x5c]
mov dword [esp + 0x38], edi
call fcn.005edd80
push 0x633c9c
lea ecx, [esp + 0x68]
mov byte [esp + 0x7c], 4
call fcn.005edd80
mov ecx, esi
mov byte [esp + 0x78], 5
call fcn.004f3500
mov ecx, eax
call fcn.0043a730
mov ecx, ebx
mov dword [esp + 0x2c], eax
call fcn.004f36a0
mov ecx, eax
call fcn.0048b150
mov edi, eax
test edi, edi
je 0x42d33a
mov ecx, edi
call fcn.0047d460
movzx eax, word [eax + 0x10]
xor esi, esi
mov dword [esp + 0x24], eax
test eax, eax
jle 0x42d250
push esi
mov ecx, edi
call fcn.0047d460
mov ecx, eax
call fcn.0047ca80
mov ebp, eax
test ebp, ebp
je 0x42d23e
mov ecx, dword [esp + 0x4c]
mov eax, dword [ebp + 0x14]
add dword [esp + 0x84], eax
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], eax
call fcn.005f3c00
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
mov ebx, eax
call fcn.0042afc0
fstp dword [ebx]
lea eax, [esi + 1]
cmp eax, dword [esp + 0x24]
jge 0x42d20c
mov ecx, dword [esp + 0x2c]
push edi
push ecx
mov ecx, dword [esp + 0x1c]
push esi
call fcn.0042ce80
mov edx, dword [esp + 0x40]
add dword [esp + 0x84], eax
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], eax
call fcn.005f3c00
mov ecx, dword [esp + 0x14]
mov ebx, eax
lea eax, [esp + 0x28]
push eax
call fcn.0042afc0
fstp dword [ebx]
mov ebp, dword [ebp + 0x18]
test ebp, ebp
je 0x42d224
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x38]
call fcn.005ee750
push ebp
jmp 0x42d237
mov edx, dword [esp + 0x34]
push edx
lea ecx, [esp + 0x38]
call fcn.005ee750
push 0x633c9c
mov ecx, eax
call fcn.005edbf0
inc esi
cmp esi, dword [esp + 0x24]
jl 0x42d181
mov ebp, dword [esp + 0x84]
mov ecx, edi
call fcn.0047d460
mov esi, eax
test esi, esi
je 0x42d32c
mov ecx, esi
call fcn.004ae290
test ax, ax
jbe 0x42d27a
push 0
mov ecx, esi
call fcn.0047cae0
mov edi, eax
jmp 0x42d281
mov edi, dword [esp + 0x84]
mov ecx, esi
call fcn.0047ca70
test ax, ax
jbe 0x42d29a
push 0
mov ecx, esi
call fcn.0047cb40
mov esi, eax
jmp 0x42d2a1
mov esi, dword [esp + 0x84]
test edi, edi
je 0x42d2d3
cmp dword [edi + 0x10], 0
jle 0x42d2d3
mov eax, dword [edi + 0x10]
mov ebx, dword [esp + 0x14]
add ebp, eax
mov dword [esp + 0x84], eax
lea eax, [esp + 0x84]
push eax
mov ecx, ebx
call fcn.0042afc0
fstp dword [esp + 0x80]
jmp 0x42d2d7
mov ebx, dword [esp + 0x14]
test esi, esi
je 0x42d300
cmp dword [esi + 0x10], 0
jle 0x42d300
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x84]
push ecx
mov ecx, ebx
add ebp, eax
mov dword [esp + 0x88], eax
call fcn.0042afc0
fstp dword [esp + 0x18]
test edi, edi
je 0x42d315
mov edi, dword [edi + 0x14]
test edi, edi
je 0x42d315
push edi
lea ecx, [esp + 0x5c]
call fcn.005edbf0
test esi, esi
je 0x42d330
mov esi, dword [esi + 0x14]
test esi, esi
je 0x42d330
push esi
lea ecx, [esp + 0x68]
call fcn.005edbf0
jmp 0x42d330
mov ebx, dword [esp + 0x14]
test ebp, ebp
jle 0x42d33e
mov dword [esp + 0x20], ebp
jmp 0x42d33e
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x42d35e
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call fcn.0042afc0
push ecx
mov ecx, esi
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBBoard::PutThickness_float_]
mov ecx, dword [0x68615c]
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBTableLayer____thiscall_BMBProduct::GetTableLayer_void_]
mov ebp, eax
test ebp, ebp
je 0x42d670
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBTableLayer::CountRecord_void_]
xor edi, edi
xor esi, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
test eax, eax
jle 0x42d3c2
lea esp, [esp]
push esi
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBLayer____thiscall_BMBTableLayer::ScanRecord_short_int_]
test eax, eax
je 0x42d3b3
cmp byte [eax + 0xe], 1
jne 0x42d3b3
movsx ecx, word [eax + 8]
mov edx, dword [esp + 0x54]
inc edi
fld dword [edx + ecx*4 - 4]
fstp dword [eax + 0x28]
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x42d390
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], edi
xor ecx, ecx
mov dword [esp + 0x24], ecx
test eax, eax
jle 0x42d670
push ecx
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBLayer____thiscall_BMBTableLayer::ScanRecord_short_int_]
mov esi, eax
test esi, esi
je 0x42d65d
lea edi, [esi + 0x14]
push str.Resist_A
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x42d453
fld dword [esp + 0x80]
sub esp, 0xc
fst dword [esi + 0x28]
mov eax, esp
fmul qword [0x633e08]
mov dword [esp + 0x90], esp
fstp dword [esi + 0x20]
mov ecx, dword [esp + 0x64]
push ecx
push eax
mov ecx, ebx
call fcn.0042ad20
lea edx, [esp + 0x38]
push edx
mov ecx, ebx
call fcn.00406f20
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [esp + 0x7c], 6
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBLayer::PutMaterialName_char_const__]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 5
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x42d65d
push str.Resist_B
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x42d4bd
fld dword [esp + 0x18]
sub esp, 0xc
fst dword [esi + 0x28]
mov eax, esp
fmul qword [0x633e08]
mov dword [esp + 0x90], esp
fstp dword [esi + 0x20]
mov ecx, dword [esp + 0x64]
push ecx
push eax
mov ecx, ebx
call fcn.0042ad20
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
call fcn.00406f20
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [esp + 0x7c], 7
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBLayer::PutMaterialName_char_const__]
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 5
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x42d65d
cmp byte [esi + 0xe], 1
jne 0x42d65d
movsx eax, word [esi + 8]
mov ecx, dword [esp + 0x3c]
lea eax, [eax + eax*2]
sub esp, 0xc
lea eax, [ecx + eax*4 - 0xc]
mov eax, dword [eax]
mov edx, esp
mov dword [esp + 0x90], esp
push eax
push edx
mov ecx, ebx
call fcn.0042ad20
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
call fcn.00406f20
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [esp + 0x7c], 8
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBLayer::PutMaterialName_char_const__]
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 5
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov al, byte [esi + 0x10]
cmp al, 2
jne 0x42d52e
fld dword [esi + 0x28]
fadd dword [esp + 0x80]
jmp 0x42d646
cmp al, 3
jne 0x42d53e
fld dword [esi + 0x28]
fadd dword [esp + 0x18]
jmp 0x42d646
cmp al, 4
jne 0x42d5bb
fld dword [esp + 0x80]
mov edi, 1
mov ecx, edi
fstp dword [esp + 0x84]
cmp cx, word [esi + 8]
jge 0x42d587
lea ecx, [ecx]
push edi
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBLayer____thiscall_BMBTableLayer::ScanRecord_short_int_]
test eax, eax
je 0x42d57e
fld dword [eax + 0x28]
fadd dword [esp + 0x84]
fstp dword [esp + 0x84]
movsx edx, word [esi + 8]
inc edi
cmp edi, edx
jl 0x42d560
movsx ecx, word [esi + 8]
dec ecx
xor eax, eax
test ecx, ecx
jle 0x42d63c
movsx ecx, word [esi + 8]
mov edx, dword [esp + 0x48]
dec ecx
nop
fld dword [edx + eax*4]
inc eax
cmp eax, ecx
fadd dword [esp + 0x84]
fstp dword [esp + 0x84]
jl 0x42d5a0
jmp 0x42d63c
cmp al, 5
jne 0x42d65d
movsx edx, word [esi + 8]
fld dword [esp + 0x18]
mov eax, dword [esp + 0x20]
fstp dword [esp + 0x84]
cmp eax, edx
mov edi, eax
jle 0x42d60b
lea esp, [esp]
push edi
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBLayer____thiscall_BMBTableLayer::ScanRecord_short_int_]
test eax, eax
je 0x42d5fe
fld dword [eax + 0x28]
fadd dword [esp + 0x84]
fstp dword [esp + 0x84]
movsx eax, word [esi + 8]
dec edi
cmp edi, eax
jg 0x42d5e0
mov eax, dword [esp + 0x20]
movsx ecx, word [esi + 8]
dec eax
dec ecx
cmp eax, ecx
jle 0x42d63c
mov edx, dword [esp + 0x48]
lea ecx, [edx + eax*4 - 4]
movsx edx, word [esi + 8]
sub eax, edx
inc eax
fld dword [ecx]
sub ecx, 4
sub eax, 1
fadd dword [esp + 0x84]
fstp dword [esp + 0x84]
jne 0x42d624
fld dword [esi + 0x28]
fadd dword [esp + 0x84]
fstp dword [esp + 0x84]
fld dword [esp + 0x84]
fmul qword [0x633e08]
fstp dword [esi + 0x20]
mov ecx, dword [esp + 0x24]
inc ecx
cmp ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
jl 0x42d3d0
lea ecx, [esp + 0x64]
mov byte [esp + 0x78], 4
call fcn.005ed430
lea ecx, [esp + 0x58]
mov byte [esp + 0x78], 3
call fcn.005ed430
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 2
call fcn.005ee6d0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 1
call fcn.005f3b00
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
call fcn.005f3b00
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 8