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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10359356
mov eax, dword fs:[0]
push eax
sub esp, 0x228
push ebx
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov bl, cl
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.1012ac60
mov esi, eax
call fcn.1012bfc0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
xor edi, edi
mov dword [esp + 0x244], edi
push eax
mov dword [esp + 0x24], 3
call fcn.100f93a0
add esp, 8
mov cl, byte [ebp + 0xc]
mov dl, byte [ebp + 0x10]
mov byte [esp + 0x240], 1
lea eax, [esp + 0x4c]
mov byte [esp + 0x14], cl
mov byte [esp + 0x15], dl
mov byte [esp + 0x16], bl
mov dword [esp + 0x4c], 1
mov dword [esp + 0x20], eax
call fcn.1005c450
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
mov esi, eax
call fcn.10016d30
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov dword [eax], edi
mov byte [esp + 0x240], 2
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x10155773
push eax
call fcn.1029f770
add esp, 4
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x10155d25
movzx eax, byte [ebp + 0x10]
movzx ecx, byte [ebp + 0xc]
movzx edx, bl
mov dword [esp + 0x20], edx
lea edx, [esp + 0x40]
mov dword [esp + 0x68], edx
lea edx, [esp + 0x38]
mov dword [esp + 0x5c], eax
mov eax, 0x100222b0
mov dword [esp + 0x58], ecx
mov ecx, fcn.100776d0
mov dword [esp + 0x80], edx
lea edx, [esp + 0x30]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
push 0x104c2ef4
push str.1780
push str.__line:
sub esp, 0x20
mov dword [esp + 0x64], ecx
mov ecx, esp
mov dword [esp + 0x198], esp
push str.._logic_logic.cpp
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], edx
call fcn.10003680
lea esi, [esp + 0x138]
call fcn.100af830
add esp, 0x20
mov esi, eax
push 0x104c3ebc
lea ecx, [esp + 0x13c]
mov byte [esp + 0x250], 3
call fcn.10003680
push esi
push eax
lea eax, [esp + 0x160]
push eax
mov byte [esp + 0x258], 4
call fcn.10016ef0
add esp, 0xc
push eax
lea ecx, [esp + 0xbc]
push ecx
mov byte [esp + 0x254], 5
call fcn.10016fa0
add esp, 0xc
push eax
lea edx, [esp + 0xd8]
push edx
mov byte [esp + 0x250], 6
call fcn.10016fa0
add esp, 0xc
push eax
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0x24c], 7
call fcn.10016fa0
add esp, 0xc
mov esi, eax
push str.boot_flag.boot_mode__d__nboot_flag.com_type__d__nboot_flag.com_id__d__n
lea ecx, [esp + 0x180]
push ecx
mov byte [esp + 0x248], 8
call fcn.100167c0
lea edx, [esp + 0x68]
push edx
mov edi, eax
mov byte [esp + 0x244], 9
call fcn.1001ec90
lea ecx, [esp + 0x84]
add esp, 4
push ecx
mov edi, eax
call fcn.1001ec90
lea edx, [esp + 0x78]
add esp, 4
push edx
mov edi, eax
call fcn.1001ec90
add esp, 4
lea edx, [esp + 0xec]
mov ecx, eax
call fcn.100168d0
mov edi, eax
mov byte [esp + 0x240], 0xa
call fcn.1005c450
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push eax
lea edx, [esp + 0x178]
push edx
call fcn.10016de0
add esp, 0xc
mov byte [esp + 0x240], 0xb
mov ecx, dword [eax + 4]
mov ebx, dword [edi + 0x18]
add ecx, 4
cmp dword [edi + 0x1c], 0x10
jb 0x1015594a
mov edi, dword [edi + 8]
jmp 0x1015594d
add edi, 8
push edi
call fcn.10013de0
mov ebx, dword [esi + 0x18]
mov edi, 0x10
cmp dword [esi + 0x1c], edi
jb 0x10155965
mov esi, dword [esi + 8]
jmp 0x10155968
add esi, 8
push esi
mov ecx, eax
call fcn.10013de0
lea ecx, [esp + 0x170]
mov byte [esp + 0x240], 0xa
call fcn.100132f0
mov byte [esp + 0x240], 9
cmp dword [esp + 0x108], edi
jb 0x101559a5
mov eax, dword [esp + 0xf4]
push eax
call fcn.1025a370
add esp, 4
xor ebx, ebx
mov esi, 0xf
push 3
lea ecx, [esp + 0x54]
mov dword [esp + 0x10c], esi
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
call fcn.10239250
mov eax, dword [esp + 0xec]
cmp eax, 0xfffffffd
je 0x101559fe
cmp eax, ebx
je 0x101559f7
lea esp, [esp]
mov dword [eax], ebx
mov ecx, dword [esp + 0xec]
mov eax, dword [ecx + 4]
mov dword [esp + 0xec], eax
cmp eax, ebx
jne 0x101559e0
mov dword [esp + 0xec], ebx
lea ecx, [esp + 0x50]
call fcn.10239290
lea edx, [esp + 0x17c]
push edx
mov byte [esp + 0x244], 8
call fcn.1000b890
mov byte [esp + 0x240], 7
cmp dword [esp + 0xa8], edi
jb 0x10155a3d
mov eax, dword [esp + 0x94]
push eax
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x4c]
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
call fcn.10239250
mov eax, dword [esp + 0x8c]
cmp eax, 0xfffffffd
je 0x10155a8e
cmp eax, ebx
je 0x10155a87
lea ecx, [ecx]
mov dword [eax], ebx
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x8c], eax
cmp eax, ebx
jne 0x10155a70
mov dword [esp + 0x8c], ebx
lea ecx, [esp + 0x48]
call fcn.10239290
mov byte [esp + 0x240], 6
cmp dword [esp + 0xe8], edi
jb 0x10155ab8
mov edx, dword [esp + 0xd4]
push edx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x38]
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
call fcn.10239250
mov eax, dword [esp + 0xcc]
cmp eax, 0xfffffffd
je 0x10155b0e
cmp eax, ebx
je 0x10155b07
jmp 0x10155af0
mov dword [eax], ebx
mov eax, dword [esp + 0xcc]
mov eax, dword [eax + 4]
mov dword [esp + 0xcc], eax
cmp eax, ebx
jne 0x10155af0
mov dword [esp + 0xcc], ebx
lea ecx, [esp + 0x34]
call fcn.10239290
mov byte [esp + 0x240], 5
cmp dword [esp + 0xc8], edi
jb 0x10155b38
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x40]
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
call fcn.10239250
mov eax, dword [esp + 0xac]
cmp eax, 0xfffffffd
je 0x10155b8e
cmp eax, ebx
je 0x10155b87
jmp 0x10155b70
mov dword [eax], ebx
mov edx, dword [esp + 0xac]
mov eax, dword [edx + 4]
mov dword [esp + 0xac], eax
cmp eax, ebx
jne 0x10155b70
mov dword [esp + 0xac], ebx
lea ecx, [esp + 0x3c]
call fcn.10239290
mov byte [esp + 0x240], 4
cmp dword [esp + 0x168], edi
jb 0x10155bb8
mov eax, dword [esp + 0x154]
push eax
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x48]
mov dword [esp + 0x16c], esi
mov dword [esp + 0x168], ebx
mov byte [esp + 0x158], bl
call fcn.10239250
mov eax, dword [esp + 0x14c]
cmp eax, 0xfffffffd
je 0x10155c0e
cmp eax, ebx
je 0x10155c07
jmp 0x10155bf0
mov dword [eax], ebx
mov ecx, dword [esp + 0x14c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x14c], eax
cmp eax, ebx
jne 0x10155bf0
mov dword [esp + 0x14c], ebx
lea ecx, [esp + 0x44]
call fcn.10239290
mov byte [esp + 0x240], 3
cmp dword [esp + 0x148], edi
jb 0x10155c38
mov edx, dword [esp + 0x134]
push edx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x28]
mov dword [esp + 0x14c], esi
mov dword [esp + 0x148], ebx
mov byte [esp + 0x138], bl
call fcn.10239250
mov eax, dword [esp + 0x12c]
cmp eax, 0xfffffffd
je 0x10155c8e
cmp eax, ebx
je 0x10155c87
jmp 0x10155c70
mov dword [eax], ebx
mov eax, dword [esp + 0x12c]
mov eax, dword [eax + 4]
mov dword [esp + 0x12c], eax
cmp eax, ebx
jne 0x10155c70
mov dword [esp + 0x12c], ebx
lea ecx, [esp + 0x24]
call fcn.10239290
mov byte [esp + 0x240], 2
cmp dword [esp + 0x128], edi
jb 0x10155cb8
mov ecx, dword [esp + 0x114]
push ecx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x58]
mov dword [esp + 0x12c], esi
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], bl
call fcn.10239250
mov eax, dword [esp + 0x10c]
cmp eax, 0xfffffffd
je 0x10155d0e
cmp eax, ebx
je 0x10155d07
jmp 0x10155cf0
mov dword [eax], ebx
mov edx, dword [esp + 0x10c]
mov eax, dword [edx + 4]
mov dword [esp + 0x10c], eax
cmp eax, ebx
jne 0x10155cf0
mov dword [esp + 0x10c], ebx
lea ecx, [esp + 0x54]
call fcn.10239290
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x101557d9
xor edi, edi
mov byte [esp + 0x240], 1
cmp eax, edi
je 0x10155d3e
push eax
call fcn.1029f770
add esp, 4
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [ecx]
push eax
lea edx, [esp + 0x18]
push edx
push ecx
call fcn.102640e0
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 0x30]
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x20006
call fcn.10079710
mov ebx, eax
mov byte [esp + 0x240], 0
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x10155dac
mov esi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x10155dac
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10155dac
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov dword [esp + 0x240], 0xffffffff
mov esi, dword [esp + 0x64]
cmp esi, edi
je 0x10155de9
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10155de9
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10155de9
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, ebx
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret