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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ad2e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword [0x4b66a4]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax]
push edi
mov dword [esp + 0x2c], ecx
push 0
mov ecx, esi
call dword [0x4b67ec]
push eax
call dword [0x4b6ef0]
mov ebx, dword [0x4b6ee8]
push 1
mov edi, eax
push 0xf000
push edi
call ebx
push 1
push 0xf030
push edi
call ebx
mov ecx, esi
call dword [0x4b67f0]
xor edx, edx
test al, al
setne dl
push edx
push 0xf020
push edi
call ebx
mov ebx, dword [0x4b6b34]
push 1
push 0x78
mov ecx, esi
call ebx
push 0x14
call fcn.004a935a
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
mov dword [esp + 0x74], 0
test edi, edi
je 0x418873
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
push esi
mov ecx, edi
mov dword [eax], 0
call dword [0x4b6bb0]
mov dword [edi], 0x54fd40
mov dword [edi + 8], 0x54fd28
jmp 0x418875
xor edi, edi
mov ebp, dword [0x4b6624]
push 0xffffffffffffffff
push 0x552084
mov dword [esp + 0x7c], 0xffffffff
mov dword [esi + 0x18], edi
call ebp
add esp, 8
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x18]
mov edi, dword [0x4b6674]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x78], 1
call edi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4188d1
mov eax, dword [esp + 0x14]
push eax
call dword [0x4b6620]
add esp, 4
push 0x28
call fcn.004a935a
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x74], 2
test eax, eax
je 0x418902
push ecx
mov edx, esp
mov dword [esp + 0x28], esp
push esi
mov ecx, eax
mov dword [edx], 0
call fcn.00411530
jmp 0x418904
xor eax, eax
push 0xffffffffffffffff
push 0x552078
mov dword [esp + 0x7c], 0xffffffff
mov dword [esi + 0x1c], eax
call ebp
add esp, 8
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x78], 3
call edi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x74], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x418954
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x4b6620]
add esp, 4
push 0x10
call fcn.004a935a
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
mov dword [esp + 0x74], 4
test edi, edi
je 0x418987
mov ecx, edi
call dword [0x4b6958]
mov dword [edi], 0x54fe58
mov dword [edi + 8], 0x54fe18
jmp 0x418989
xor edi, edi
push 0x10
mov dword [esp + 0x78], 0xffffffff
mov dword [esi + 0x24], edi
call fcn.004a935a
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
mov dword [esp + 0x74], 5
test edi, edi
je 0x4189c7
mov ecx, edi
call dword [0x4b67b4]
mov dword [edi], 0x552038
mov dword [edi + 8], 0x551ff8
jmp 0x4189c9
xor edi, edi
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x28], edi
mov edi, dword [0x4b67b8]
push 0
mov dword [esp + 0x78], 0xffffffff
call edi
mov ecx, dword [esi + 0x24]
push 0
call dword [0x4b6c60]
mov ecx, dword [esi + 0x28]
push 0
call edi
mov ecx, dword [esi + 0x28]
push 0
call dword [0x4b67bc]
push 0x5c
call fcn.004a935a
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x74], 6
test eax, eax
je 0x418a2f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
mov dword [ecx], 5
push esi
mov ecx, eax
call fcn.0040ca70
jmp 0x418a31
xor eax, eax
or edi, 0xffffffff
push edi
push 0x551fec
mov dword [esp + 0x7c], edi
mov dword [esi + 0x20], eax
call ebp
add esp, 8
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x78], 7
call dword [0x4b6674]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x74], edi
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x418a7e
mov edx, dword [esp + 0x14]
push edx
call dword [0x4b6620]
add esp, 4
push edi
push 0x550ee2
call ebp
add esp, 8
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0x7c], 8
call fcn.0041dee0
push 0
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 9
call dword [0x4b67c0]
mov edx, dword [esp + 0x24]
mov byte [esp + 0x74], 0xb
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x418adc
mov ecx, dword [esp + 0x24]
push ecx
call dword [0x4b6620]
add esp, 4
mov edx, dword [esp + 0x18]
mov byte [esp + 0x74], 0xc
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x418afc
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x4b6620]
add esp, 4
lea ecx, [esp + 0x4c]
call dword [0x4b67c4]
test al, al
je 0x418bac
push 0xffffffffffffffff
push 0x551fd8
call ebp
add esp, 8
mov dword [esp + 0x14], eax
push 0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 0xd
call dword [0x4b6900]
test al, al
mov eax, dword [esp + 0x14]
sete byte [esp + 0x13]
mov byte [esp + 0x74], 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x418b5b
mov edx, dword [esp + 0x14]
push edx
call dword [0x4b6620]
add esp, 4
cmp byte [esp + 0x13], 0
je 0x418bac
test byte [0x590b28], 1
jne 0x418b93
or dword [0x590b28], 1
mov ecx, 0x590a80
mov byte [esp + 0x74], 0xe
call fcn.004270b0
push 0x4b4ba0
call fcn.004a9229
add esp, 4
mov byte [esp + 0x74], 0xc
push 0x551f80
push 0x551f68
push 1
push 0x590a80
call fcn.004279c0
add esp, 0x10
lea ecx, [esp + 0x4c]
call dword [0x4b67c4]
test al, al
jne 0x418c4d
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x50]
call dword [0x4b6950]
mov ecx, dword [esi + 0x1c]
push eax
call dword [0x4b6ae0]
push 0xffffffffffffffff
push 0x550ee2
call ebp
add esp, 8
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, edi
mov byte [esp + 0x7c], 0xf
call fcn.0041dee0
mov ecx, dword [esi + 0x1c]
push eax
mov byte [esp + 0x78], 0x10
call fcn.004114b0
mov eax, dword [esp + 0x20]
mov byte [esp + 0x74], 0xf
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x418c2b
mov edx, dword [esp + 0x20]
push edx
call dword [0x4b6620]
add esp, 4
mov eax, dword [esp + 0x14]
mov byte [esp + 0x74], 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x418c6b
mov edx, dword [esp + 0x14]
push edx
call dword [0x4b6620]
add esp, 4
jmp 0x418c6b
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], 0x320
mov dword [esp + 0x34], 0x1e0
call dword [0x4b6ae0]
mov ecx, esi
call dword [0x4b6a44]
push eax
lea ecx, [esp + 0x38]
call dword [0x4b6a48]
push 1
push 0x13
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 0x11
call dword [0x4b6a4c]
lea ecx, [esp + 0x20]
push ecx
push 9
push 5
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], 0x12
call dword [0x4b6a50]
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 0x11
call dword [0x4b6a54]
push 0x1c
call fcn.004a935a
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x74], 0x13
test eax, eax
je 0x418cdc
push esi
mov ecx, eax
call fcn.0040f8a0
jmp 0x418cde
xor eax, eax
mov ebp, dword [0x4b67c8]
lea edx, [esp + 0x34]
push edx
mov ecx, eax
mov byte [esp + 0x78], 0x11
mov dword [esi + 0x58], eax
call ebp
mov ecx, dword [esi + 0x58]
push 0
push 4
call ebx
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x28]
mov edi, dword [0x4b67cc]
push eax
call edi
push 0xb4
call fcn.004a935a
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x74], 0x14
test eax, eax
je 0x418d31
push esi
mov ecx, eax
call fcn.00413dc0
jmp 0x418d33
xor eax, eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
mov byte [esp + 0x78], 0x11
mov dword [esi + 0x30], eax
call ebp
mov ecx, dword [esi + 0x30]
push 0
push 4
call ebx
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x28]
push edx
call edi
push 0x1c
call fcn.004a935a
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x74], 0x15
test eax, eax
je 0x418d77
push esi
mov ecx, eax
call fcn.0040d640
jmp 0x418d79
xor eax, eax
mov ecx, dword [esi + 0x28]
push eax
mov byte [esp + 0x78], 0x11
mov dword [esi + 0x34], eax
call edi
push 0x50
call fcn.004a935a
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x74], 0x16
test eax, eax
je 0x418da8
push esi
mov ecx, eax
call fcn.0040f230
jmp 0x418daa
xor eax, eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
mov byte [esp + 0x78], 0x11
mov dword [esi + 0x2c], eax
call ebp
mov ecx, dword [esi + 0x2c]
push 0
push 4
call ebx
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
push edx
call edi
push 0x80
call fcn.004a935a
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x74], 0x17
test eax, eax
je 0x418df1
push esi
mov ecx, eax
call fcn.004113c0
jmp 0x418df3
xor eax, eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
mov byte [esp + 0x78], 0x11
mov dword [esi + 0x38], eax
call ebp
mov ecx, dword [esi + 0x38]
push 0
push 4
call ebx
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x28]
push edx
call edi
push 0x74
call fcn.004a935a
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x74], 0x18
test eax, eax
je 0x418e37
push esi
mov ecx, eax
call fcn.00416bc0
jmp 0x418e39
xor eax, eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
mov byte [esp + 0x78], 0x11
mov dword [esi + 0x3c], eax
call ebp
mov ecx, dword [esi + 0x3c]
push 0
push 4
call ebx
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x28]
push edx
call edi
push 0x70
call fcn.004a935a
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x74], 0x19
test eax, eax
je 0x418e7d
push esi
mov ecx, eax
call fcn.004157e0
jmp 0x418e7f
xor eax, eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
mov byte [esp + 0x78], 0x11
mov dword [esi + 0x40], eax
call ebp
mov ecx, dword [esi + 0x40]
push 0
push 4
call ebx
mov edx, dword [esi + 0x40]
mov ecx, dword [esi + 0x28]
push edx
call edi
push 0x4c
call fcn.004a935a
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x74], 0x1a
test eax, eax
je 0x418ec3
push esi
mov ecx, eax
call fcn.0040e3f0
jmp 0x418ec5
xor eax, eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
mov byte [esp + 0x78], 0x11
mov dword [esi + 0x44], eax
call ebp
mov ecx, dword [esi + 0x44]
push 0
push 4
call ebx
mov edx, dword [esi + 0x44]
mov ecx, dword [esi + 0x28]
push edx
call edi
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x1c]
mov edi, dword [0x4b67d0]
push eax
call edi
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
push 0
push ecx
mov ecx, dword [esi + 0x24]
call dword [0x4b6c74]
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x18]
push edx
call edi
mov eax, dword [esi + 0x18]
push eax
mov ecx, esi
call dword [0x4b67d4]
mov ecx, dword [esi + 0x20]
push 0x1e
call dword [0x4b67d8]
mov ecx, dword [esi + 0x20]
mov eax, 7
push eax
call dword [0x4b6c7c]
mov ecx, dword [esi + 0x20]
mov edi, dword [0x4b6af0]
push 6
call edi
mov ecx, eax
call dword [0x4b67b8]
mov ecx, dword [esi + 0x20]
push 4
call edi
mov ecx, eax
call dword [0x4b67bc]
mov ecx, dword [esi + 0x1c]
mov ecx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x18]
sub eax, dword [ecx + 0x10]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x2c]
add eax, 0xb
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x1e
call dword [0x4b6c54]
mov ecx, dword [esi + 0x20]
push esi
call dword [0x4b67dc]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], 0x14
mov dword [esp + 0x34], 0xf
call dword [0x4b6afc]
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
mov dword [esp + 0x20], 0
call eax
mov ebx, dword [0x4b669c]
test eax, eax
jle 0x4191ea
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x28]
call dword [0x4b67f4]
lea edx, [esp + 0x14]
push 0x551f40
push edx
mov edi, eax
call dword [0x4b65c0]
add esp, 8
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov edx, dword [edi]
push eax
mov eax, dword [edx]
mov ecx, edi
mov byte [esp + 0x78], 0x1b
call eax
mov ebp, dword [0x4b65c4]
mov ecx, eax
call ebp
cmp eax, 0xffffffff
je 0x419031
push 0
push 0x551f20
push esi
push 0x551ef8
push edi
call ebx
add esp, 0x14
lea ecx, [esp + 0x28]
push 0x551ecc
push ecx
call dword [0x4b65c0]
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 0x1c
call dword [0x4b65c8]
mov edx, dword [esp + 0x28]
mov byte [esp + 0x74], 0x1b
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x419074
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x4b66b8]
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
push eax
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov ecx, eax
call ebp
cmp eax, 0xffffffff
je 0x4190a0
push 0
push 0x551ea8
push esi
push 0x551e7c
push edi
call ebx
add esp, 0x14
lea eax, [esp + 0x2c]
push 0x551e64
push eax
call dword [0x4b65c0]
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 0x1d
call dword [0x4b65c8]
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x74], 0x1b
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4190e3
mov eax, dword [esp + 0x2c]
push eax
call dword [0x4b66b8]
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
mov edx, dword [edi]
push eax
mov eax, dword [edx]
mov ecx, edi
call eax
mov ecx, eax
call ebp
cmp eax, 0xffffffff
je 0x41910f
push 0
push 0x551e54
push esi
push 0x551e3c
push edi
call ebx
add esp, 0x14
push 0xffffffffffffffff
push 0x550870
call dword [0x4b6624]
mov dword [esp + 0x24], eax
mov ecx, dword [0x4b66ec]
push ecx
lea edx, [esp + 0x28]
push edx
push edi
mov byte [esp + 0x88], 0x1e
call dword [0x4b65cc]
mov ebp, eax
mov eax, dword [esp + 0x30]
add esp, 0x14
mov byte [esp + 0x74], 0x1b
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x419160
mov edx, dword [esp + 0x1c]
push edx
call dword [0x4b6620]
add esp, 4
test ebp, ebp
je 0x4191af
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x10]
mov edi, dword [eax + 0x1c]
sub edi, dword [eax + 0x14]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebp
sub edi, 0x1f
mov dword [esp + 0x40], 0x10
mov dword [esp + 0x44], 0x11
call dword [0x4b6afc]
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 0x18]
sub edx, dword [eax + 0x10]
lea eax, [esp + 0x44]
inc edx
push eax
mov ecx, ebp
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edi
call dword [0x4b6c54]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x74], 0x11
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4191cf
mov eax, dword [esp + 0x14]
push eax
call dword [0x4b66b8]
add esp, 4
mov ecx, dword [esi + 0x28]
mov edi, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
inc edi
mov dword [esp + 0x20], edi
call eax
cmp edi, eax
jl 0x418fd7
push 0
push 0x551e24
push esi
lea ecx, [esi + 0x60]
push 0x551e18
push ecx
call ebx
push 0
push 0x551df4
push esi
lea edx, [esi + 0x78]
push 0x551e18
push edx
call ebx
mov eax, dword [esi + 0x28]
push 0
push 0x551dd8
push esi
push 0x551dc0
push eax
call ebx
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx + 0x10]
mov edi, dword [eax + 0x18]
mov ebp, dword [eax + 0x1c]
sub edi, dword [eax + 0x10]
sub ebp, dword [eax + 0x14]
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + 0x10]
mov ebx, dword [eax + 0x1c]
sub ebx, dword [eax + 0x14]
add esp, 0x3c
inc edi
inc ebp
call dword [0x4b6af0]
mov ecx, eax
call dword [0x4b67e0]
lea ecx, [esp + 0x58]
push 0xffffffffffffffff
push ecx
lea ebx, [eax + ebx + 5]
call dword [0x4b67e4]
mov ecx, eax
call dword [0x4b67e8]
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
sub eax, edi
inc eax
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
sar ecx, 1
sub eax, ebp
sub eax, ebx
sub eax, 0x13
cdq
sub eax, edx
lea edx, [esp + 0x44]
sar eax, 1
mov dword [esp + 0x44], ecx
push edx
mov ecx, esi
mov dword [esp + 0x4c], eax
call dword [0x4b6afc]
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 0xc
call dword [0x4b6a5c]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], 0xffffffff
call dword [0x4b6954]
mov ecx, dword [esp + 0x6c]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret