Function at 0x42b6e0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x615f56
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov edi, dword [esp + 0x50]
mov eax, dword [edi + 0x30]
push eax
call fcn.005edd80
mov eax, dword [edi + 0x24]
xor ebp, ebp
push eax
lea ecx, [esi + 0xc]
mov dword [esp + 0x4c], ebp
call fcn.005edd80
lea ecx, [esi + 0x18]
mov byte [esp + 0x48], 1
call fcn.005ed1b0
lea ecx, [esi + 0x68]
mov byte [esp + 0x48], 2
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x44], ebp
call fcn.005ed1b0
lea ecx, [esi + 0x74]
mov byte [esp + 0x48], 3
call fcn.005f3af0
lea ecx, [esi + 0x80]
mov byte [esp + 0x48], 4
call fcn.005f3af0
lea ecx, [esi + 0x8c]
mov byte [esp + 0x48], 5
call fcn.005f3af0
lea ebx, [esi + 0x98]
mov ecx, ebx
mov byte [esp + 0x48], 6
call fcn.005f3af0
lea ecx, [esi + 0xa4]
mov byte [esp + 0x48], 7
call fcn.005f3af0
lea ecx, [esi + 0xb0]
mov byte [esp + 0x48], 8
call fcn.005f3af0
lea ecx, [esi + 0xbc]
mov byte [esp + 0x48], 9
call fcn.005f3af0
lea ecx, [esi + 0xe8]
mov byte [esp + 0x48], 0xa
call fcn.005f3af0
lea ecx, [esi + 0xf4]
mov byte [esp + 0x48], 0xb
call fcn.005f3af0
lea ecx, [esi + 0x100]
mov byte [esp + 0x48], 0xc
call fcn.00407f00
lea ecx, [esi + 0x190]
mov byte [esp + 0x48], 0xd
call fcn.005f3af0
lea ecx, [esi + 0x19c]
mov byte [esp + 0x48], 0xe
call fcn.005f3af0
lea ecx, [esi + 0x1a8]
mov byte [esp + 0x48], 0xf
call fcn.005f3af0
mov byte [esp + 0x48], 0x10
lea ecx, [esi + 0x1b4]
call fcn.005f3af0
mov dword [esi + 0x1f0], ebp
mov dword [esi + 0x1f4], ebp
push 1
push ebp
push ebp
push ebp
lea ecx, [esi + 0x1f8]
mov byte [esp + 0x58], 0x12
call fcn.0054f970
lea ecx, [esi + 0x218]
mov byte [esp + 0x48], 0x13
call fcn.00588370
lea ecx, [esi + 0x248]
mov byte [esp + 0x48], 0x14
call fcn.00540550
lea ecx, [esi + 0x258]
mov byte [esp + 0x48], 0x15
call fcn.005ed1b0
lea ecx, [esi + 0x26c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [esi + 0x290]
mov byte [esp + 0x48], 0x17
call fcn.005f3af0
lea ecx, [esi + 0x2fc]
mov byte [esp + 0x48], 0x18
call fcn.005ed1b0
lea ecx, [esi + 0x308]
mov byte [esp + 0x48], 0x19
call fcn.005f3af0
lea ecx, [esi + 0x320]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [esi + 0x350]
mov byte [esp + 0x48], 0x1b
call fcn.00517a80
fldz
fstp dword [esi + 0x264]
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x44], ebp
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x1cc], ebp
mov eax, dword [edi + 0xc4]
mov byte [esp + 0x48], 0x1c
test al, 8
jne 0x42b93a
test eax, 0x800
jne 0x42b93a
test byte [edi + 0xc8], 0x10
jne 0x42b97c
mov ecx, dword [0x686168]
call dword [sym.imp.BMA_C9.dll_public:_class_BMAInterface____thiscall_BMAProject::GetInterface_void_]
cmp eax, ebp
jne 0x42b956
mov dword [esi + 0x29c], 0xffffffff
jmp 0x42b97c
mov ecx, eax
call dword [sym.imp.BMA_C9.dll_public:_class_BMAIfBD____thiscall_BMAInterface::GetBD_void_]
cmp eax, ebp
jne 0x42b96e
mov dword [esi + 0x29c], 0xffffffff
jmp 0x42b97c
mov ecx, eax
call dword [sym.imp.BMA_C9.dll_public:_float___thiscall_BMAIfBD::GetMinHoleAperture_void_]
fstp dword [esi + 0x264]
fld dword [edi + 0xdc]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [esi + 0x2a8]
fld dword [edi + 0xe0]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [esi + 0x2ac]
fld dword [edi + 0xe4]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [esi + 0x2b0]
fld dword [edi + 0xe8]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [esi + 0x2b4]
mov eax, dword [edi + 0xc4]
test al, 8
je 0x42b9da
xor eax, eax
jmp 0x42b9f8
test eax, 0x800
je 0x42b9e8
mov eax, 2
jmp 0x42b9f8
movsx eax, byte [edi + 0xc8]
and eax, 0x10
or eax, 8
shr eax, 3
mov word [esi + 0x268], ax
movsx eax, byte [edi + 0xc4]
and eax, 0x10
shr eax, 4
mov dword [esi + 0x270], eax
movsx eax, byte [edi + 0xc4]
and eax, 0x20
shr eax, 5
mov dword [esi + 0x274], eax
mov dword [esi + 0x278], ebp
cmp eax, 1
jne 0x42ba3c
mov eax, dword [edi + 0x104]
mov dword [esi + 0x278], eax
movsx eax, byte [edi + 0xc4]
and eax, 0x40
shr eax, 6
mov dword [esi + 0x27c], eax
test byte [edi + 0xc4], 0x80
mov eax, 0
setne al
push ebp
mov ecx, ebx
mov dword [esi + 0x280], eax
mov eax, dword [edi + 0xc4]
shr eax, 8
and eax, 1
mov dword [esi + 0x284], eax
mov eax, dword [edi + 0xc4]
shr eax, 9
and eax, 1
mov dword [esi + 0x288], eax
mov eax, dword [edi + 0xc4]
shr eax, 0xb
and eax, 1
mov dword [esi + 0x28c], eax
mov eax, dword [edi + 0xcc]
mov dword [esi + 0x64], eax
mov dword [esi + 0xe0], 0x100
mov dword [esi + 0xe4], ebp
mov dword [esi + 0xd4], ebp
call fcn.005ee750
mov dword [ebx], ebp
mov dword [esi + 0x1c4], ebp
mov dword [esi + 0x1c8], ebp
test dword [edi + 0xc4], 0x8000
mov ebx, 1
je 0x42bae6
mov dword [esi + 0x1c4], ebx
mov ecx, dword [esi + 0x1c4]
mov dword [esi + 0x100], ecx
movsx eax, byte [edi + 0xc8]
and eax, 2
shr eax, 1
mov dword [esi + 0x2b8], eax
mov eax, dword [edi + 0x108]
mov dword [esi + 0x2bc], eax
movsx eax, byte [edi + 0xc8]
and eax, 8
shr eax, 3
mov dword [esi + 0x2c0], eax
cmp eax, ebx
jne 0x42bb48
mov eax, dword [edi + 0xc8]
shr eax, 0xb
and eax, ebx
mov dword [esi + 0x2c4], eax
fld dword [edi + 0xf0]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
jmp 0x42bb50
fldz
mov dword [esi + 0x2c4], ebp
fstp dword [esi + 0x2c8]
lea edx, [esp + 0x34]
fld dword [edi + 0xf4]
push edx
fstp dword [esp + 0x54]
mov ecx, edi
fld dword [esp + 0x54]
fstp dword [esi + 0x2cc]
fld dword [edi + 0xf8]
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fstp dword [esi + 0x2d0]
movsx eax, byte [edi + 0xc8]
and eax, 0x20
shr eax, 5
mov dword [esi + 0x2d4], eax
mov eax, dword [edi + 0x100]
mov dword [esi + 0x2d8], eax
fld dword [edi + 0x10c]
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fstp dword [esi + 0x2dc]
mov eax, dword [edi + 0xc8]
shr eax, 8
and eax, ebx
mov dword [esi + 0x2e4], eax
mov eax, dword [edi + 0xfc]
mov dword [esi + 0x2e8], eax
mov eax, dword [edi + 0xc8]
shr eax, 0xd
and eax, ebx
mov dword [esi + 0x2f0], eax
mov eax, dword [edi + 0xc8]
shr eax, 0xe
and eax, ebx
mov dword [esi + 0x2f4], eax
mov eax, dword [edi + 0xc8]
shr eax, 0xf
and eax, ebx
mov dword [esi + 0x2f8], eax
call fcn.0042a700
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esi + 0x2fc]
mov byte [esp + 0x50], 0x1d
call fcn.005ed450
lea ecx, [esp + 0x34]
mov byte [esp + 0x48], 0x1c
call fcn.005ed430
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.0042a730
push eax
lea ecx, [esi + 0x308]
mov byte [esp + 0x4c], 0x1e
call fcn.005ee890
lea ecx, [esp + 0x34]
mov byte [esp + 0x48], 0x1c
call fcn.005ee6d0
mov eax, dword [edi + 0xc8]
shr eax, 0x14
and eax, ebx
mov dword [esi + 0x314], eax
mov eax, dword [edi + 0xc8]
shr eax, 0x15
and eax, ebx
mov dword [esi + 0x318], eax
mov eax, dword [edi + 0xc8]
shr eax, 0x16
and eax, ebx
mov dword [esi + 0x344], eax
cmp eax, ebx
jne 0x42bce8
push ebp
call dword [sym.imp.MSVCR90.dll__time64]
push edx
push eax
lea eax, [esi + 0x320]
push 0x635160
push eax
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x14
mov dword [esi + 0x324], ebp
mov dword [esi + 0x328], ebp
mov dword [esi + 0x32c], ebp
mov dword [esi + 0x330], ebp
mov dword [esi + 0x334], ebp
mov dword [esi + 0x338], ebp
mov dword [esi + 0x33c], ebp
mov dword [esi + 0x340], ebp
mov dword [esi + 0x2d8], ebp
mov eax, dword [edi + 0xc8]
mov ecx, dword [esi + 0x27c]
shr eax, 0x17
and eax, ebx
mov dword [esi + 0x348], eax
mov edi, dword [edi + 0xc8]
mov eax, dword [esi + 0x270]
shr edi, 0x18
and edi, ebx
mov dword [esi + 0x34c], edi
mov dword [esi + 0x1e4], ebp
mov dword [esi + 0x104], ebp
mov dword [esi + 0x1e8], eax
mov dword [esi + 0x1ec], ebp
mov dword [esi + 0x1d0], ebp
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1d8], ebp
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x128], ecx
cmp word [esi + 0x268], bp
jne 0x42bd7b
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], edi
jmp 0x42bd8d
mov edx, dword [esi + 0x284]
mov dword [esi + 0x11c], edx
mov dword [esi + 0x120], ebp
mov ecx, dword [esi + 0x288]
mov dword [esi + 0x130], ecx
cmp ecx, ebp
jne 0x42bdb3
cmp dword [esi + 0x314], ebx
je 0x42bdad
cmp dword [esi + 0x318], ebx
jne 0x42bdb3
mov dword [esi + 0x130], ebx
mov ecx, dword [esi + 0x274]
mov edx, dword [esi + 0x280]
mov dword [esi + 0x124], ecx
lea edi, [esi + 0x290]
push ebp
mov ecx, edi
mov dword [esi + 0x12c], edx
mov dword [esi + 0x134], eax
call fcn.005f3cc0
mov dword [edi], ebp
mov dword [esi + 0x31c], ebp
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
xor edx, edx
mov ecx, 0x411
cmp ax, cx
sete dl
lea edi, [esi + 0x350]
push ebp
mov ecx, edi
mov dword [esi + 0x2ec], edx
call fcn.005f3cc0
lea ecx, [esp + 0x28]
mov dword [edi], ebp
mov dword [esp + 0x14], ebp
call fcn.005f3af0
mov bl, 0x1f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], bl
call fcn.005f3af0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esi + 0x248]
mov byte [esp + 0x54], 0x20
call fcn.00540a90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], bl
call fcn.005ee6d0
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0x1c
call fcn.005f3b00
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 4