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

Disassembly:
push 0xffffffffffffffff
push 0x1034debb
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x1fc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x10]
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], bl
call fcn.10019780
lea ecx, [esi + 4]
mov dword [esp + 0x204], ebx
mov eax, dword [ecx]
and eax, 0xfffffffe
mov edx, ecx
je 0x1012b9dc
mov edi, dword [esp + 0x20c]
nop
cmp dword [eax + 0xc], edi
jge 0x1012b9ca
mov eax, dword [eax + 8]
jmp 0x1012b9cf
mov edx, eax
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x1012b9c0
cmp edx, ecx
je 0x1012b9dc
cmp edi, dword [edx + 0xc]
jge 0x1012b9de
mov edx, ecx
cmp edx, ecx
je 0x1012bf54
lea edx, [esp + 0x20c]
call fcn.1012c140
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 2
mov dword [esp + 0x18], ecx
call fcn.1005c450
mov eax, dword [eax]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
push ecx
mov esi, eax
call fcn.10016d30
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov dword [eax], ebx
mov byte [esp + 0x204], 1
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1012ba3f
push eax
call fcn.1029f770
add esp, 4
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1012bf3c
lea eax, [esp + 0x20c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], fcn.100776d0
mov dword [esp + 0x4c], 0x1012c890
push 0x104c2ef4
push 0x104dd878
push str.__line:
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x15c], esp
push str.._logic_kernel.cpp
call fcn.10003680
lea esi, [esp + 0x9c]
call fcn.100af830
add esp, 0x20
mov esi, eax
push 0x104c3ebc
lea ecx, [esp + 0x120]
mov byte [esp + 0x214], 2
call fcn.10003680
push esi
push eax
lea ecx, [esp + 0xe4]
push ecx
mov byte [esp + 0x21c], 3
call fcn.10016ef0
add esp, 0xc
push eax
lea edx, [esp + 0xa0]
push edx
mov byte [esp + 0x218], 4
call fcn.10016fa0
add esp, 0xc
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x214], 5
call fcn.10016fa0
add esp, 0xc
push eax
lea ecx, [esp + 0xb8]
push ecx
mov byte [esp + 0x210], 6
call fcn.10016fa0
add esp, 0xc
mov ebp, eax
push str.delete_hsession_0x_x
lea edx, [esp + 0x144]
push edx
mov byte [esp + 0x20c], 7
call fcn.100167c0
lea ecx, [esp + 0x44]
push ecx
mov edi, eax
mov byte [esp + 0x208], 8
call fcn.1001ec90
add esp, 4
lea edx, [esp + 0xf0]
mov ecx, eax
call fcn.100168d0
mov esi, eax
mov byte [esp + 0x204], 9
call fcn.1005c450
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x13c]
push eax
call fcn.10016de0
add esp, 0xc
mov byte [esp + 0x204], 0xa
mov ecx, dword [eax + 4]
mov ebx, dword [esi + 0x18]
add ecx, 4
mov edi, 0x10
cmp dword [esi + 0x1c], edi
jb 0x1012bb9f
mov esi, dword [esi + 8]
jmp 0x1012bba2
add esi, 8
push esi
call fcn.10013de0
mov ebx, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], edi
jb 0x1012bbb5
mov ebp, dword [ebp + 8]
jmp 0x1012bbb8
add ebp, 8
push ebp
mov ecx, eax
call fcn.10013de0
lea ecx, [esp + 0x134]
mov byte [esp + 0x204], 9
call fcn.100132f0
mov byte [esp + 0x204], 8
cmp dword [esp + 0x10c], edi
jb 0x1012bbf5
mov ecx, dword [esp + 0xf8]
push ecx
call fcn.1025a370
add esp, 4
xor ebx, ebx
mov esi, 0xf
push 3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x110], esi
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
call fcn.10239250
mov eax, dword [esp + 0xf0]
cmp eax, 0xfffffffd
je 0x1012bc4e
cmp eax, ebx
je 0x1012bc47
lea esp, [esp]
mov dword [eax], ebx
mov edx, dword [esp + 0xf0]
mov eax, dword [edx + 4]
mov dword [esp + 0xf0], eax
cmp eax, ebx
jne 0x1012bc30
mov dword [esp + 0xf0], ebx
lea ecx, [esp + 0x18]
call fcn.10239290
lea eax, [esp + 0x140]
push eax
mov byte [esp + 0x208], 7
call fcn.1000b890
mov byte [esp + 0x204], 6
cmp dword [esp + 0xcc], edi
jb 0x1012bc8d
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x30]
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
call fcn.10239250
mov eax, dword [esp + 0xb0]
cmp eax, 0xfffffffd
je 0x1012bcde
cmp eax, ebx
je 0x1012bcd7
lea ecx, [ecx]
mov dword [eax], ebx
mov edx, dword [esp + 0xb0]
mov eax, dword [edx + 4]
mov dword [esp + 0xb0], eax
cmp eax, ebx
jne 0x1012bcc0
mov dword [esp + 0xb0], ebx
lea ecx, [esp + 0x2c]
call fcn.10239290
mov byte [esp + 0x204], 5
cmp dword [esp + 0x6c], edi
jb 0x1012bd02
mov eax, dword [esp + 0x58]
push eax
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x44]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.10239250
mov eax, dword [esp + 0x50]
cmp eax, 0xfffffffd
je 0x1012bd3b
cmp eax, ebx
je 0x1012bd37
mov dword [eax], ebx
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 4]
mov dword [esp + 0x50], eax
cmp eax, ebx
jne 0x1012bd26
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x40]
call fcn.10239290
mov byte [esp + 0x204], 4
cmp dword [esp + 0xac], edi
jb 0x1012bd65
mov edx, dword [esp + 0x98]
push edx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x38]
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
call fcn.10239250
mov eax, dword [esp + 0x90]
cmp eax, 0xfffffffd
je 0x1012bdbe
cmp eax, ebx
je 0x1012bdb7
jmp 0x1012bda0
mov dword [eax], ebx
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 4]
mov dword [esp + 0x90], eax
cmp eax, ebx
jne 0x1012bda0
mov dword [esp + 0x90], ebx
lea ecx, [esp + 0x34]
call fcn.10239290
mov byte [esp + 0x204], 3
cmp dword [esp + 0xec], edi
jb 0x1012bde8
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x40]
mov dword [esp + 0xf0], esi
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
call fcn.10239250
mov eax, dword [esp + 0xd0]
cmp eax, 0xfffffffd
je 0x1012be3e
cmp eax, ebx
je 0x1012be37
jmp 0x1012be20
mov dword [eax], ebx
mov edx, dword [esp + 0xd0]
mov eax, dword [edx + 4]
mov dword [esp + 0xd0], eax
cmp eax, ebx
jne 0x1012be20
mov dword [esp + 0xd0], ebx
lea ecx, [esp + 0x3c]
call fcn.10239290
mov byte [esp + 0x204], 2
cmp dword [esp + 0x12c], edi
jb 0x1012be68
mov eax, dword [esp + 0x118]
push eax
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x34]
mov dword [esp + 0x130], esi
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
call fcn.10239250
mov eax, dword [esp + 0x110]
cmp eax, 0xfffffffd
je 0x1012bebe
cmp eax, ebx
je 0x1012beb7
jmp 0x1012bea0
mov dword [eax], ebx
mov ecx, dword [esp + 0x110]
mov eax, dword [ecx + 4]
mov dword [esp + 0x110], eax
cmp eax, ebx
jne 0x1012bea0
mov dword [esp + 0x110], ebx
lea ecx, [esp + 0x30]
call fcn.10239290
mov byte [esp + 0x204], 1
cmp dword [esp + 0x8c], edi
jb 0x1012bee5
mov edx, dword [esp + 0x78]
push edx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x2c]
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.10239250
mov eax, dword [esp + 0x70]
cmp eax, 0xfffffffd
je 0x1012bf25
cmp eax, ebx
je 0x1012bf21
nop
mov dword [eax], ebx
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
mov dword [esp + 0x70], eax
cmp eax, ebx
jne 0x1012bf10
mov dword [esp + 0x70], ebx
lea ecx, [esp + 0x28]
call fcn.10239290
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x1012ba66
xor ebx, ebx
mov byte [esp + 0x204], bl
cmp eax, ebx
je 0x1012bf54
push eax
call fcn.1029f770
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x204], 0xffffffff
cmp byte [esp + 0x24], bl
je 0x1012bf97
mov ecx, dword [esp + 0x20]
mov eax, closesocket
mov edx, ecx
lock xadd dword [edx], eax
test eax, 0x40000000
jne 0x1012bf97
cmp eax, 0x80000000
jle 0x1012bf97
mov eax, ecx
lock bts dword [eax], 0x1e
jb 0x1012bf97
call fcn.1000b130
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0x1fc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f4
ret 4