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

Disassembly:
push 0xffffffffffffffff
push 0x1034df66
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x204]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x10]
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov byte [esp + 0x2c], 0
call fcn.10019780
lea ecx, [esp + 0x20]
xor ebp, ebp
push ecx
mov dword [esp + 0x210], ebp
call fcn.1012c280
add esp, 4
mov byte [esp + 0x20c], 1
mov edx, dword [esp + 0x20]
mov byte [edx + 0x28c], 0
mov esi, dword [esp + 0x214]
cmp esi, ebp
je 0x1012b327
mov eax, dword [edi + 4]
and eax, 0xfffffffe
lea edx, [edi + 4]
mov ecx, edx
je 0x1012b321
cmp dword [eax + 0xc], esi
jge 0x1012b30f
mov eax, dword [eax + 8]
jmp 0x1012b314
mov ecx, eax
mov eax, dword [eax + 4]
cmp eax, ebp
jne 0x1012b305
cmp ecx, edx
je 0x1012b321
cmp esi, dword [ecx + 0xc]
jge 0x1012b323
mov ecx, edx
cmp ecx, edx
je 0x1012b335
mov eax, edi
call fcn.1012b230
mov dword [esp + 0x214], eax
push edi
lea ecx, [esp + 0x218]
call fcn.1012c190
mov edi, eax
lea eax, [esp + 0x20]
call fcn.100be780
lea eax, [esp + 0x40]
mov ebx, 2
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], eax
call fcn.1005c450
mov eax, dword [eax]
lea ecx, [esp + 0x18]
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], ebp
mov byte [esp + 0x20c], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x1012b39a
push eax
call fcn.1029f770
add esp, 4
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x1012b895
lea edx, [esp + 0x214]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], fcn.100776d0
mov dword [esp + 0x54], 0x1012c890
push 0x104c2ef4
push 0x104ca0a4
push str.__line:
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x164], esp
push str.._logic_kernel.cpp
call fcn.10003680
lea esi, [esp + 0xc4]
call fcn.100af830
add esp, 0x20
mov esi, eax
push 0x104c3ebc
lea ecx, [esp + 0xc8]
mov byte [esp + 0x21c], 3
call fcn.10003680
push esi
push eax
lea eax, [esp + 0x12c]
push eax
mov byte [esp + 0x224], 4
call fcn.10016ef0
add esp, 0xc
push eax
lea ecx, [esp + 0x88]
push ecx
mov byte [esp + 0x220], 5
call fcn.10016fa0
add esp, 0xc
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x21c], 6
call fcn.10016fa0
add esp, 0xc
push eax
lea eax, [esp + 0x100]
push eax
mov byte [esp + 0x218], 7
call fcn.10016fa0
add esp, 0xc
mov ebp, eax
push str.create_new_hsession_0x_x
lea ecx, [esp + 0x14c]
push ecx
mov byte [esp + 0x214], 8
call fcn.100167c0
lea edx, [esp + 0x4c]
push edx
mov edi, eax
mov byte [esp + 0x210], 9
call fcn.1001ec90
add esp, 4
lea edx, [esp + 0xd8]
mov ecx, eax
call fcn.100168d0
mov esi, eax
mov byte [esp + 0x20c], 0xa
call fcn.1005c450
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x144]
push edx
call fcn.10016de0
add esp, 0xc
mov byte [esp + 0x20c], 0xb
mov ecx, dword [eax + 4]
mov ebx, dword [esi + 0x18]
add ecx, 4
cmp dword [esi + 0x1c], 0x10
jb 0x1012b4f6
mov esi, dword [esi + 8]
jmp 0x1012b4f9
add esi, 8
push esi
call fcn.10013de0
mov ebx, dword [ebp + 0x18]
mov edi, 0x10
cmp dword [ebp + 0x1c], edi
jb 0x1012b511
mov ebp, dword [ebp + 8]
jmp 0x1012b514
add ebp, 8
push ebp
mov ecx, eax
call fcn.10013de0
lea ecx, [esp + 0x13c]
mov byte [esp + 0x20c], 0xa
call fcn.100132f0
mov byte [esp + 0x20c], 9
cmp dword [esp + 0xf4], edi
jb 0x1012b551
mov eax, dword [esp + 0xe0]
push eax
call fcn.1025a370
add esp, 4
xor ebx, ebx
mov esi, 0xf
push 3
lea ecx, [esp + 0x1c]
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
call fcn.10239250
mov eax, dword [esp + 0xd8]
cmp eax, 0xfffffffd
je 0x1012b5ae
cmp eax, ebx
je 0x1012b5a7
jmp 0x1012b590
mov dword [eax], ebx
mov ecx, dword [esp + 0xd8]
mov eax, dword [ecx + 4]
mov dword [esp + 0xd8], eax
cmp eax, ebx
jne 0x1012b590
mov dword [esp + 0xd8], ebx
lea ecx, [esp + 0x18]
call fcn.10239290
lea edx, [esp + 0x148]
push edx
mov byte [esp + 0x210], 8
call fcn.1000b890
mov byte [esp + 0x20c], 7
cmp dword [esp + 0x114], edi
jb 0x1012b5ed
mov eax, dword [esp + 0x100]
push eax
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x40]
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], ebx
mov byte [esp + 0x104], bl
call fcn.10239250
mov eax, dword [esp + 0xf8]
cmp eax, 0xfffffffd
je 0x1012b63e
cmp eax, ebx
je 0x1012b637
lea ecx, [ecx]
mov dword [eax], ebx
mov ecx, dword [esp + 0xf8]
mov eax, dword [ecx + 4]
mov dword [esp + 0xf8], eax
cmp eax, ebx
jne 0x1012b620
mov dword [esp + 0xf8], ebx
lea ecx, [esp + 0x3c]
call fcn.10239290
mov byte [esp + 0x20c], 6
cmp dword [esp + 0x74], edi
jb 0x1012b662
mov edx, dword [esp + 0x60]
push edx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x4c]
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.10239250
mov eax, dword [esp + 0x58]
cmp eax, 0xfffffffd
je 0x1012b69b
cmp eax, ebx
je 0x1012b697
mov dword [eax], ebx
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], eax
cmp eax, ebx
jne 0x1012b686
mov dword [esp + 0x58], ebx
lea ecx, [esp + 0x48]
call fcn.10239290
mov byte [esp + 0x20c], 5
cmp dword [esp + 0x94], edi
jb 0x1012b6c5
mov ecx, dword [esp + 0x80]
push ecx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x48]
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.10239250
mov eax, dword [esp + 0x78]
cmp eax, 0xfffffffd
je 0x1012b707
cmp eax, ebx
je 0x1012b703
mov dword [eax], ebx
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 4]
mov dword [esp + 0x78], eax
cmp eax, ebx
jne 0x1012b6f2
mov dword [esp + 0x78], ebx
lea ecx, [esp + 0x44]
call fcn.10239290
mov byte [esp + 0x20c], 4
cmp dword [esp + 0x134], edi
jb 0x1012b731
mov eax, dword [esp + 0x120]
push eax
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x34]
mov dword [esp + 0x138], esi
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], bl
call fcn.10239250
mov eax, dword [esp + 0x118]
cmp eax, 0xfffffffd
je 0x1012b77f
cmp eax, ebx
je 0x1012b778
mov dword [eax], ebx
mov ecx, dword [esp + 0x118]
mov eax, dword [ecx + 4]
mov dword [esp + 0x118], eax
cmp eax, ebx
jne 0x1012b761
mov dword [esp + 0x118], ebx
lea ecx, [esp + 0x30]
call fcn.10239290
mov byte [esp + 0x20c], 3
cmp dword [esp + 0xd4], edi
jb 0x1012b7a9
mov edx, dword [esp + 0xc0]
push edx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x38]
mov dword [esp + 0xd8], esi
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
call fcn.10239250
mov eax, dword [esp + 0xb8]
cmp eax, 0xfffffffd
je 0x1012b7fe
cmp eax, ebx
je 0x1012b7f7
lea esp, [esp]
mov dword [eax], ebx
mov eax, dword [esp + 0xb8]
mov eax, dword [eax + 4]
mov dword [esp + 0xb8], eax
cmp eax, ebx
jne 0x1012b7e0
mov dword [esp + 0xb8], ebx
lea ecx, [esp + 0x34]
call fcn.10239290
mov byte [esp + 0x20c], 2
cmp dword [esp + 0xb4], edi
jb 0x1012b828
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x3c]
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
call fcn.10239250
mov eax, dword [esp + 0x98]
cmp eax, 0xfffffffd
je 0x1012b87e
cmp eax, ebx
je 0x1012b877
jmp 0x1012b860
mov dword [eax], ebx
mov edx, dword [esp + 0x98]
mov eax, dword [edx + 4]
mov dword [esp + 0x98], eax
cmp eax, ebx
jne 0x1012b860
mov dword [esp + 0x98], ebx
lea ecx, [esp + 0x38]
call fcn.10239290
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x1012b3c1
xor ebp, ebp
mov byte [esp + 0x20c], 1
cmp eax, ebp
je 0x1012b8ae
push eax
call fcn.1029f770
add esp, 4
mov dword [esp + 0x14], ebp
mov edi, dword [esp + 0x214]
mov byte [esp + 0x20c], 0
mov esi, dword [esp + 0x24]
cmp esi, ebp
je 0x1012b8ef
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1012b8ef
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 0x1012b8ef
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov dword [esp + 0x20c], 0xffffffff
cmp byte [esp + 0x2c], 0
je 0x1012b933
mov ecx, dword [esp + 0x28]
mov eax, closesocket
mov edx, ecx
lock xadd dword [edx], eax
test eax, 0x40000000
jne 0x1012b933
cmp eax, 0x80000000
jle 0x1012b933
mov eax, ecx
lock bts dword [eax], 0x1e
jb 0x1012b933
call fcn.1000b130
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, edi
mov ecx, dword [esp + 0x204]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 4