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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10359276
mov eax, dword fs:[0]
push eax
sub esp, 0x218
push ebx
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov bl, cl
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.1012ac60
mov esi, eax
call fcn.1012bfc0
movzx esi, bl
lea edx, [esi + esi*2]
add edx, edx
lea eax, [esp + 0x10]
add edx, edx
push eax
lea ecx, [esp + 0x28]
add edx, edx
mov dword [esp + 0x234], 0
push ecx
mov dword [esp + 0x18], edx
call fcn.100f93a0
add esp, 8
mov byte [esp + 0x230], 1
test bl, bl
jbe 0x10157376
mov edi, dword [ebp + 0xc]
lea edx, [esp + 0x44]
add edi, 0x10
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], esi
lea esp, [esp]
mov dword [esp + 0x44], 1
call fcn.1005c450
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
mov esi, eax
call fcn.10016d30
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov dword [eax], 0
mov byte [esp + 0x230], 2
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10156dcd
push eax
call fcn.1029f770
add esp, 4
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10157347
lea eax, [edi - 8]
mov dword [esp + 0x70], eax
mov eax, fcn.100776d0
mov ecx, 0x100e6200
lea edx, [esp + 0x4c]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], fcn.100776d0
mov dword [esp + 0x60], 0x1015afb0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
jmp 0x10156e20
movzx ecx, byte [edi - 0x10]
push 0x104c2ef4
push str.1852
push str.__line:
inc ecx
sub esp, 0x20
mov dword [esp + 0x78], ecx
mov ecx, esp
mov dword [esp + 0x188], esp
push str.._logic_logic.cpp
call fcn.10003680
lea esi, [esp + 0x148]
call fcn.100af830
add esp, 0x20
mov esi, eax
push 0x104c3ebc
lea ecx, [esp + 0x14c]
mov byte [esp + 0x240], 3
call fcn.10003680
push esi
push eax
lea edx, [esp + 0x110]
push edx
mov byte [esp + 0x248], 4
call fcn.10016ef0
add esp, 0xc
push eax
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x244], 5
call fcn.10016fa0
add esp, 0xc
push eax
lea ecx, [esp + 0xa8]
push ecx
mov byte [esp + 0x240], 6
call fcn.10016fa0
add esp, 0xc
push eax
lea edx, [esp + 0xe4]
push edx
mov byte [esp + 0x23c], 7
call fcn.10016fa0
add esp, 0xc
mov esi, eax
push str.GP_d_info:_start_addr_0x_x___length_0x_x__n
lea eax, [esp + 0x170]
push eax
mov byte [esp + 0x238], 8
call fcn.100167c0
lea ecx, [esp + 0x58]
push ecx
mov edi, eax
mov byte [esp + 0x234], 9
call fcn.1001ec90
lea edx, [esp + 0x74]
add esp, 4
push edx
mov edi, eax
call fcn.1001ec90
lea ecx, [esp + 0x68]
add esp, 4
push ecx
mov edi, eax
call fcn.1001ec90
add esp, 4
lea edx, [esp + 0x7c]
mov ecx, eax
call fcn.100168d0
mov edi, eax
mov byte [esp + 0x230], 0xa
call fcn.1005c450
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x168]
push eax
call fcn.10016de0
add esp, 0xc
mov byte [esp + 0x230], 0xb
mov ecx, dword [eax + 4]
mov ebx, dword [edi + 0x18]
add ecx, 4
cmp dword [edi + 0x1c], 0x10
jb 0x10156f7c
mov edi, dword [edi + 8]
jmp 0x10156f7f
add edi, 8
push edi
call fcn.10013de0
mov ebx, dword [esi + 0x18]
mov edi, 0x10
cmp dword [esi + 0x1c], edi
jb 0x10156f97
mov esi, dword [esi + 8]
jmp 0x10156f9a
add esi, 8
push esi
mov ecx, eax
call fcn.10013de0
lea ecx, [esp + 0x160]
mov byte [esp + 0x230], 0xa
call fcn.100132f0
mov byte [esp + 0x230], 9
cmp dword [esp + 0x98], edi
jb 0x10156fd7
mov ecx, dword [esp + 0x84]
push ecx
call fcn.1025a370
add esp, 4
xor ebx, ebx
mov esi, 0xf
push 3
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.10239250
mov eax, dword [esp + 0x7c]
cmp eax, 0xfffffffd
je 0x10157025
cmp eax, ebx
je 0x10157021
jmp 0x10157010
mov dword [eax], ebx
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + 4]
mov dword [esp + 0x7c], eax
cmp eax, ebx
jne 0x10157010
mov dword [esp + 0x7c], ebx
lea ecx, [esp + 0x40]
call fcn.10239290
lea eax, [esp + 0x16c]
push eax
mov byte [esp + 0x234], 8
call fcn.1000b890
mov byte [esp + 0x230], 7
cmp dword [esp + 0xf8], edi
jb 0x10157064
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x3c]
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
call fcn.10239250
mov eax, dword [esp + 0xdc]
cmp eax, 0xfffffffd
je 0x101570b2
cmp eax, ebx
je 0x101570ab
mov dword [eax], ebx
mov edx, dword [esp + 0xdc]
mov eax, dword [edx + 4]
mov dword [esp + 0xdc], eax
cmp eax, ebx
jne 0x10157094
mov dword [esp + 0xdc], ebx
lea ecx, [esp + 0x38]
call fcn.10239290
mov byte [esp + 0x230], 6
cmp dword [esp + 0xb8], edi
jb 0x101570dc
mov eax, dword [esp + 0xa4]
push eax
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x4c]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.10239250
mov eax, dword [esp + 0x9c]
cmp eax, 0xfffffffd
je 0x1015712e
cmp eax, ebx
je 0x10157127
lea esp, [esp]
mov dword [eax], ebx
mov ecx, dword [esp + 0x9c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x9c], eax
cmp eax, ebx
jne 0x10157110
mov dword [esp + 0x9c], ebx
lea ecx, [esp + 0x48]
call fcn.10239290
mov byte [esp + 0x230], 5
cmp dword [esp + 0xd8], edi
jb 0x10157158
mov edx, dword [esp + 0xc4]
push edx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x34]
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
call fcn.10239250
mov eax, dword [esp + 0xbc]
cmp eax, 0xfffffffd
je 0x101571ae
cmp eax, ebx
je 0x101571a7
jmp 0x10157190
mov dword [eax], ebx
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 4]
mov dword [esp + 0xbc], eax
cmp eax, ebx
jne 0x10157190
mov dword [esp + 0xbc], ebx
lea ecx, [esp + 0x30]
call fcn.10239290
mov byte [esp + 0x230], 4
cmp dword [esp + 0x118], edi
jb 0x101571d8
mov ecx, dword [esp + 0x104]
push ecx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x38]
mov dword [esp + 0x11c], esi
mov dword [esp + 0x118], ebx
mov byte [esp + 0x108], bl
call fcn.10239250
mov eax, dword [esp + 0xfc]
cmp eax, 0xfffffffd
je 0x1015722e
cmp eax, ebx
je 0x10157227
jmp 0x10157210
mov dword [eax], ebx
mov edx, dword [esp + 0xfc]
mov eax, dword [edx + 4]
mov dword [esp + 0xfc], eax
cmp eax, ebx
jne 0x10157210
mov dword [esp + 0xfc], ebx
lea ecx, [esp + 0x34]
call fcn.10239290
mov byte [esp + 0x230], 3
cmp dword [esp + 0x158], edi
jb 0x10157258
mov eax, dword [esp + 0x144]
push eax
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x24]
mov dword [esp + 0x15c], esi
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
call fcn.10239250
mov eax, dword [esp + 0x13c]
cmp eax, 0xfffffffd
je 0x101572ae
cmp eax, ebx
je 0x101572a7
jmp 0x10157290
mov dword [eax], ebx
mov ecx, dword [esp + 0x13c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x13c], eax
cmp eax, ebx
jne 0x10157290
mov dword [esp + 0x13c], ebx
lea ecx, [esp + 0x20]
call fcn.10239290
mov byte [esp + 0x230], 2
cmp dword [esp + 0x138], edi
jb 0x101572d8
mov edx, dword [esp + 0x124]
push edx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x40]
mov dword [esp + 0x13c], esi
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], bl
call fcn.10239250
mov eax, dword [esp + 0x11c]
cmp eax, 0xfffffffd
je 0x1015732e
cmp eax, ebx
je 0x10157327
jmp 0x10157310
mov dword [eax], ebx
mov eax, dword [esp + 0x11c]
mov eax, dword [eax + 4]
mov dword [esp + 0x11c], eax
cmp eax, ebx
jne 0x10157310
mov dword [esp + 0x11c], ebx
lea ecx, [esp + 0x3c]
call fcn.10239290
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
cmp eax, ebx
jne 0x10156e20
mov byte [esp + 0x230], 1
test eax, eax
je 0x10157364
push eax
call fcn.1029f770
add esp, 4
mov dword [esp + 0x14], 0
add edi, 0x18
sub dword [esp + 0x10], 1
mov dword [esp + 0x18], edi
jne 0x10156d80
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx]
push edx
push eax
push ecx
call fcn.102640e0
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x30]
add esp, 0xc
lea eax, [esp + 0x24]
push eax
mov ecx, 0x20008
call fcn.10079710
mov edi, eax
mov byte [esp + 0x230], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x101573e3
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x101573e3
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x101573e3
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov dword [esp + 0x230], 0xffffffff
mov esi, dword [esp + 0x54]
test esi, esi
je 0x10157420
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10157420
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10157420
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret