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

Disassembly:
push 0xffffffffffffffff
push 0x61421c
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [0x683034]
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.004f29e0
mov ecx, eax
call fcn.0048a540
mov esi, eax
mov ecx, esi
call fcn.0047c800
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x20], eax
test eax, eax
jg 0x42ccf8
mov dword [esp + 0x20], 0
mov ecx, esi
call fcn.0047c800
mov edi, dword [eax + 0x24]
test ebp, ebp
je 0x42cdc3
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.0042a920
test eax, eax
je 0x42cd35
cmp ebp, 1
jne 0x42cd82
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x90], esp
push edi
call fcn.005ec6d0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x90]
push eax
call fcn.0042ad00
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.0047c800
fld dword [eax + 0x30]
fstp dword [esp + 0x84]
fldz
fcom dword [esp + 0x84]
fnstsw ax
test ah, 0x41
jne 0x42cdac
fstp dword [esp + 0x84]
jmp 0x42cdae
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.004f2840
test eax, eax
je 0x42d3e9
fldz
lea ecx, [esp + 0x40]
fst dword [esp + 0x80]
fstp dword [esp + 0x18]
call fcn.005f1fa0
xor edi, edi
push edi
lea ecx, [esp + 0x44]
mov dword [esp + 0x7c], 1
call fcn.005f1f00
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], edi
call fcn.005f1fa0
push edi
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 2
call fcn.005f1f00
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], edi
call fcn.005f1fa0
push edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x7c], 3
call fcn.005ed0b0
push 0x631c94
lea ecx, [esp + 0x5c]
mov dword [esp + 0x38], edi
call fcn.005ec6d0
push 0x631c94
lea ecx, [esp + 0x68]
mov byte [esp + 0x7c], 4
call fcn.005ec6d0
mov ecx, esi
mov byte [esp + 0x78], 5
call fcn.004f2840
mov ecx, eax
call fcn.0043a2c0
mov ecx, ebx
mov dword [esp + 0x2c], eax
call fcn.004f29e0
mov ecx, eax
call fcn.0048a540
mov edi, eax
test edi, edi
je 0x42d06a
mov ecx, edi
call fcn.0047c800
movzx eax, word [eax + 0x10]
xor esi, esi
mov dword [esp + 0x24], eax
test eax, eax
jle 0x42cf80
push esi
mov ecx, edi
call fcn.0047c800
mov ecx, eax
call fcn.0047bdc0
mov ebp, eax
test ebp, ebp
je 0x42cf6e
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.005f1f00
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
mov ebx, eax
call fcn.0042ac80
fstp dword [ebx]
lea eax, [esi + 1]
cmp eax, dword [esp + 0x24]
jge 0x42cf3c
mov ecx, dword [esp + 0x2c]
push edi
push ecx
mov ecx, dword [esp + 0x1c]
push esi
call fcn.0042cbb0
mov edx, dword [esp + 0x40]
add dword [esp + 0x84], eax
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], eax
call fcn.005f1f00
mov ecx, dword [esp + 0x14]
mov ebx, eax
lea eax, [esp + 0x28]
push eax
call fcn.0042ac80
fstp dword [ebx]
mov ebp, dword [ebp + 0x18]
test ebp, ebp
je 0x42cf54
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x38]
call fcn.005ed0b0
push ebp
jmp 0x42cf67
mov edx, dword [esp + 0x34]
push edx
lea ecx, [esp + 0x38]
call fcn.005ed0b0
push 0x631c94
mov ecx, eax
call fcn.005ec540
inc esi
cmp esi, dword [esp + 0x24]
jl 0x42ceb1
mov ebp, dword [esp + 0x84]
mov ecx, edi
call fcn.0047c800
mov esi, eax
test esi, esi
je 0x42d05c
mov ecx, esi
call fcn.004e31e0
test ax, ax
jbe 0x42cfaa
push 0
mov ecx, esi
call fcn.0047be80
mov edi, eax
jmp 0x42cfb1
mov edi, dword [esp + 0x84]
mov ecx, esi
call fcn.0047bdb0
test ax, ax
jbe 0x42cfca
push 0
mov ecx, esi
call fcn.0047bee0
mov esi, eax
jmp 0x42cfd1
mov esi, dword [esp + 0x84]
test edi, edi
je 0x42d003
cmp dword [edi + 0x10], 0
jle 0x42d003
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.0042ac80
fstp dword [esp + 0x80]
jmp 0x42d007
mov ebx, dword [esp + 0x14]
test esi, esi
je 0x42d030
cmp dword [esi + 0x10], 0
jle 0x42d030
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x84]
push ecx
mov ecx, ebx
add ebp, eax
mov dword [esp + 0x88], eax
call fcn.0042ac80
fstp dword [esp + 0x18]
test edi, edi
je 0x42d045
mov edi, dword [edi + 0x14]
test edi, edi
je 0x42d045
push edi
lea ecx, [esp + 0x5c]
call fcn.005ec540
test esi, esi
je 0x42d060
mov esi, dword [esi + 0x14]
test esi, esi
je 0x42d060
push esi
lea ecx, [esp + 0x68]
call fcn.005ec540
jmp 0x42d060
mov ebx, dword [esp + 0x14]
test ebp, ebp
jle 0x42d06e
mov dword [esp + 0x20], ebp
jmp 0x42d06e
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x42d08e
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call fcn.0042ac80
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 [0x683034]
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBTableLayer____thiscall_BMBProduct::GetTableLayer_void_]
mov ebp, eax
test ebp, ebp
je 0x42d3a0
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 0x42d0f2
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 0x42d0e3
cmp byte [eax + 0xe], 1
jne 0x42d0e3
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 0x42d0c0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], edi
xor ecx, ecx
mov dword [esp + 0x24], ecx
test eax, eax
jle 0x42d3a0
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 0x42d38d
lea edi, [esi + 0x14]
push str.Resist_A
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x42d183
fld dword [esp + 0x80]
sub esp, 0xc
fst dword [esi + 0x28]
mov eax, esp
fmul qword [0x631e00]
mov dword [esp + 0x90], esp
fstp dword [esi + 0x20]
mov ecx, dword [esp + 0x64]
push ecx
push eax
mov ecx, ebx
call fcn.0042a9e0
lea edx, [esp + 0x38]
push edx
mov ecx, ebx
call fcn.0042ad00
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 0x42d38d
push str.Resist_B
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x42d1ed
fld dword [esp + 0x18]
sub esp, 0xc
fst dword [esi + 0x28]
mov eax, esp
fmul qword [0x631e00]
mov dword [esp + 0x90], esp
fstp dword [esi + 0x20]
mov ecx, dword [esp + 0x64]
push ecx
push eax
mov ecx, ebx
call fcn.0042a9e0
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
call fcn.0042ad00
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 0x42d38d
cmp byte [esi + 0xe], 1
jne 0x42d38d
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.0042a9e0
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
call fcn.0042ad00
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 0x42d25e
fld dword [esi + 0x28]
fadd dword [esp + 0x80]
jmp 0x42d376
cmp al, 3
jne 0x42d26e
fld dword [esi + 0x28]
fadd dword [esp + 0x18]
jmp 0x42d376
cmp al, 4
jne 0x42d2eb
fld dword [esp + 0x80]
mov edi, 1
mov ecx, edi
fstp dword [esp + 0x84]
cmp cx, word [esi + 8]
jge 0x42d2b7
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 0x42d2ae
fld dword [eax + 0x28]
fadd dword [esp + 0x84]
fstp dword [esp + 0x84]
movsx edx, word [esi + 8]
inc edi
cmp edi, edx
jl 0x42d290
movsx ecx, word [esi + 8]
dec ecx
xor eax, eax
test ecx, ecx
jle 0x42d36c
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 0x42d2d0
jmp 0x42d36c
cmp al, 5
jne 0x42d38d
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 0x42d33b
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 0x42d32e
fld dword [eax + 0x28]
fadd dword [esp + 0x84]
fstp dword [esp + 0x84]
movsx eax, word [esi + 8]
dec edi
cmp edi, eax
jg 0x42d310
mov eax, dword [esp + 0x20]
movsx ecx, word [esi + 8]
dec eax
dec ecx
cmp eax, ecx
jle 0x42d36c
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 0x42d354
fld dword [esi + 0x28]
fadd dword [esp + 0x84]
fstp dword [esp + 0x84]
fld dword [esp + 0x84]
fmul qword [0x631e00]
fstp dword [esi + 0x20]
mov ecx, dword [esp + 0x24]
inc ecx
cmp ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
jl 0x42d100
lea ecx, [esp + 0x64]
mov byte [esp + 0x78], 4
call fcn.005ebd80
lea ecx, [esp + 0x58]
mov byte [esp + 0x78], 3
call fcn.005ebd80
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 2
call fcn.005ed030
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 1
call fcn.005f1f90
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
call fcn.005f1f90
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