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

Disassembly:
push 0xffffffffffffffff
push 0x4cd56c
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0xde8598]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xde8598]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
xor edi, edi
push 0x4efdd8
mov dword [esp + 0x238], edi
call dword [0x4eb200]
mov esi, eax
mov dword [esp + 0x70], esi
cmp esi, edi
jne 0x412550
lea eax, [esp + 0x18]
push 0x4efdc0
push eax
mov dword [esp + 0x20], 4
mov dword [esp + 0x24], 0x4efdb4
mov dword [esp + 0x28], 0x4ef424
mov dword [esp + 0x2c], 0x353
call fcn.0040c600
add esp, 8
jmp 0x412b26
push 0x4efda4
push esi
call dword [0x4eb204]
mov dword [esp + 0x74], eax
cmp eax, edi
jne 0x4125a2
lea ecx, [esp + 0x18]
push 0x4efd88
push ecx
mov dword [esp + 0x20], 4
mov dword [esp + 0x24], 0x4efdb4
mov dword [esp + 0x28], 0x4ef424
mov dword [esp + 0x2c], 0x35b
call fcn.0040c600
add esp, 8
push esi
call dword [0x4eb208]
jmp 0x412b26
lea edx, [esp + 0x90]
push edx
call fcn.00411e50
add esp, 4
push 0x4efa5c
lea ecx, [esp + 0x40]
mov byte [esp + 0x238], 1
call dword [0x4eb244]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x238], 2
call fcn.00411cf0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x234], 1
call dword [0x4eb23c]
mov ecx, dword [esp + 0xa0]
sub ecx, dword [esp + 0x9c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
lea ecx, [esp + 0x1c]
push 0x4efd74
mov ebp, 0x4ef424
push ecx
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], 0x4efdb4
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 0x362
call fcn.0040c600
add esp, 0xc
lea ecx, [esp + 0x78]
call fcn.004102c0
mov edx, dword [0x4eb23c]
mov eax, dword [0x4eb240]
push edx
push eax
push 5
push 0x1c
lea ecx, [esp + 0x1ac]
push ecx
mov byte [esp + 0x248], 3
call fcn.004cad94
mov edx, dword [0x4eb23c]
mov eax, dword [0x4eb240]
push edx
push eax
push 5
push 0x1c
lea ecx, [esp + 0x120]
push ecx
mov byte [esp + 0x248], 4
call fcn.004cad94
mov ecx, dword [esp + 0xa0]
sub ecx, dword [esp + 0x9c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0x234], 5
je 0x412862
mov ebp, dword [0x4eb9cc]
mov ebx, dword [0x4eb8bc]
xor esi, esi
jmp 0x4126e0
xor eax, eax
mov dword [esp + 0x44], eax
push edi
lea ecx, [esp + 0x94]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], 0xffffffff
call fcn.00410240
push eax
lea ecx, [esp + esi + 0x1a0]
call dword [0x4eb258]
mov ecx, dword [esp + esi + 0x1b4]
lea eax, [esp + esi + 0x1a0]
cmp ecx, 0x10
jb 0x412734
mov edx, dword [eax]
jmp 0x412736
mov edx, eax
mov dword [esp + 0x48], edx
cmp ecx, 0x10
jb 0x412741
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
call dword [0x4eba0c]
add esp, 8
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x238], 6
call dword [0x4eb9c4]
mov edx, dword [esp + 0x14]
mov byte [esp + 0x234], 8
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x41278b
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x4eba10]
add esp, 4
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x38]
call ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov byte [esp + 0x238], 9
call dword [0x4eb9b0]
push eax
lea ecx, [esp + esi + 0x114]
mov byte [esp + 0x238], 0xa
call dword [0x4eb258]
lea ecx, [esp + 0x18]
mov byte [esp + 0x234], 9
call dword [0x4eb23c]
mov edx, dword [esp + 0x38]
mov byte [esp + 0x234], 8
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4127f6
mov ecx, dword [esp + 0x38]
push ecx
call dword [0x4eba10]
add esp, 4
cmp dword [esp + esi + 0x128], 0x10
jb 0x412809
mov eax, dword [esp + esi + 0x114]
jmp 0x412810
lea eax, [esp + esi + 0x114]
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x50], eax
call fcn.004123a0
lea ecx, [esp + 0x34]
mov byte [esp + 0x234], 5
call ebp
mov ecx, dword [esp + 0xa0]
sub ecx, dword [esp + 0x9c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add esi, 0x1c
cmp edi, eax
jb 0x4126e0
mov ebp, 0x4ef424
push 0x30
lea ecx, [esp + 0xac]
push 0
push ecx
call fcn.004cab9e
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
mov edx, ecx
sub edx, esi
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add esp, 0xc
add eax, edx
mov dword [esp + 0xac], 0x4efd60
mov dword [esp + 0xb0], 0x4efd50
jne 0x4128c5
call dword [0x4eb328]
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
xor eax, eax
shr ecx, 0x1f
add ecx, edx
lea edx, [esp + 0x23c]
push edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0xdc]
push 0x4efd48
mov ebx, 1
push eax
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], ebx
call dword [0x4eb25c]
push 0x4efd38
push eax
lea ecx, [esp + 0x108]
push ecx
mov byte [esp + 0x24c], 0xb
call dword [0x4eb2c0]
add esp, 0x18
lea ecx, [esp + 0xd8]
mov byte [esp + 0x234], 0xd
call dword [0x4eb23c]
mov eax, dword [esp + 0xf8]
mov esi, 0x10
cmp dword [esp + 0x10c], esi
jae 0x412978
lea eax, [esp + 0xf8]
push eax
lea edx, [esp + 0x1c]
mov edi, 0x4efdb4
push edx
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 0x387
call fcn.0040c600
add esp, 8
cmp dword [esp + 0x10c], esi
jb 0x4129b9
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x64], eax
jmp 0x4129c4
lea ecx, [esp + 0xf8]
mov dword [esp + 0x64], ecx
cmp dword [esp + 0x254], esi
jb 0x4129da
mov edx, dword [esp + 0x240]
mov dword [esp + 0x60], edx
jmp 0x4129e5
lea eax, [esp + 0x240]
mov dword [esp + 0x60], eax
push 0
push 8
lea edx, [esp + 0xb0]
push edx
push 0
lea ecx, [esp + 0x68]
push 0
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xdc], ebx
call dword [esp + 0x88]
mov esi, eax
test esi, esi
je 0x412a6b
push esi
lea eax, [esp + 0x1c]
push 0x4efd14
mov ebx, 4
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 0x391
call fcn.0040c600
add esp, 0xc
cmp esi, 0xc
jne 0x412a6b
lea ecx, [esp + 0x3c]
push 0x4efcf4
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], 0x394
call fcn.0040c600
add esp, 8
mov edx, dword [esp + 0x70]
push edx
call dword [0x4eb208]
lea ecx, [esp + 0xf4]
mov byte [esp + 0x234], 5
call dword [0x4eb23c]
mov eax, dword [0x4eb23c]
push eax
push 5
push 0x1c
lea ecx, [esp + 0x11c]
push ecx
mov byte [esp + 0x244], 4
call fcn.004cace9
mov edx, dword [0x4eb23c]
push edx
push 5
push 0x1c
lea eax, [esp + 0x1a8]
push eax
mov byte [esp + 0x244], 3
call fcn.004cace9
mov eax, dword [esp + 0x84]
xor esi, esi
cmp eax, esi
je 0x412ae0
push eax
call fcn.004cab6a
add esp, 4
mov ecx, dword [esp + 0x78]
push ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
call fcn.004cab6a
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x234], 0xe
call fcn.00411870
mov edx, dword [esp + 0x90]
push edx
call fcn.004cab6a
add esp, 4
lea ecx, [esp + 0x23c]
mov dword [esp + 0x234], 0xffffffff
call dword [0x4eb23c]
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004cab76
add esp, 0x224
ret