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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x418fe7
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x829618]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x4c], edi
push 0xffffffffffffffff
push 0x41aff9
call dword [0x41a350]
mov dword [esp + 0x3c], eax
push 0
lea eax, [esp + 0x60]
push 0x41d6ec
push eax
mov dword [esp + 0xac], 0
call fcn.0040d780
add esp, 0x10
mov ecx, esp
mov dword [ecx], 0
mov dword [esp + 0x74], esp
mov dword [ecx], 3
lea ecx, [esp + 0x38]
push ecx
push eax
lea edx, [esp + 0x30]
push edi
push edx
mov byte [esp + 0xac], 1
call dword [0x41a910]
add esp, 0x14
mov eax, dword [esp + 0x54]
mov byte [esp + 0x98], 3
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x413898
mov edx, dword [esp + 0x54]
push edx
call dword [0x41a358]
add esp, 4
mov eax, dword [esp + 0x34]
mov byte [esp + 0x98], 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4138bb
mov edx, dword [esp + 0x34]
push edx
call dword [0x41a358]
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, dword [0x41a2cc]
je 0x413f91
mov eax, dword [0x41a270]
mov eax, dword [eax]
push eax
mov ecx, 0x82955c
call dword [0x41a274]
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.00401f10
mov eax, dword [0x41a304]
mov dword [esp + 0x30], eax
mov edx, 1
lock xadd dword [eax], edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x80]
push ecx
mov byte [esp + 0xa0], 6
call fcn.004128b0
add esp, 8
mov ebx, dword [0x41a354]
mov eax, dword [esp + 0x84]
mov byte [esp + 0x98], 7
mov edi, edi
mov ecx, dword [esp + 0x80]
mov edx, ecx
inc ecx
mov dword [esp + 0x80], ecx
test edx, edx
jne 0x413bee
cmp eax, dword [esp + 0x88]
je 0x413bee
push eax
lea ecx, [esp + 0x44]
call dword [0x41a360]
mov byte [esp + 0x98], 8
lea esp, [esp]
cmp dword [esp + 0x80], 0
je 0x413bb5
mov eax, dword [0x41a270]
mov eax, dword [eax]
push eax
mov ecx, 0x82955c
call dword [0x41a274]
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.00402200
mov ecx, dword [0x41a2cc]
mov dword [esp + 0x28], ecx
mov edx, 1
lock xadd dword [ecx], edx
lea edi, [eax + 8]
mov eax, dword [edi]
xor ebp, ebp
cmp dword [eax + 8], ebp
mov byte [esp + 0x98], 9
jle 0x413ae9
mov byte [esp + 0x68], 0x20
mov byte [esp + 0x64], 0x20
mov ecx, dword [esp + 0x68]
push ecx
lea ecx, [esp + 0x20]
call dword [0x41a34c]
mov edx, dword [esp + 0x64]
push edx
lea ecx, [esp + 0x1e]
call dword [0x41a34c]
push 0xffffffffffffffff
push 0x41e408
call dword [0x41a350]
add esp, 8
mov dword [esp + 0x38], eax
lea eax, [esp + 0x1a]
push eax
push 0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0xa8], 0xa
call ebx
mov esi, eax
push ebp
lea eax, [esp + 0x78]
push eax
mov ecx, edi
mov byte [esp + 0xa0], 0xb
call dword [0x41a11c]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov eax, dword [eax + 4]
cmp eax, dword [ecx + 8]
jge 0x413a50
mov edx, dword [ecx + 0xc]
movzx eax, word [edx + eax*2]
jmp 0x413a52
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push eax
lea edx, [esp + 0x64]
push edx
mov ecx, esi
call dword [0x41a120]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9c], 0xc
call dword [0x41a2d0]
mov eax, dword [esp + 0x58]
mov esi, dword [0x41a358]
mov byte [esp + 0x98], 0xb
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x413a9f
mov edx, dword [esp + 0x58]
push edx
call esi
add esp, 4
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x98], 0xa
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x413abe
mov edx, dword [esp + 0x5c]
push edx
call esi
add esp, 4
mov eax, dword [esp + 0x38]
mov byte [esp + 0x98], 9
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x413add
mov edx, dword [esp + 0x38]
push edx
call esi
add esp, 4
mov eax, dword [edi]
inc ebp
cmp ebp, dword [eax + 8]
jl 0x4139d2
mov byte [esp + 0x48], 0x20
mov ecx, dword [esp + 0x48]
push ecx
lea ecx, [esp + 0x22]
call dword [0x41a34c]
push 0xffffffffffffffff
push 0x41e400
call dword [0x41a350]
add esp, 8
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x1e]
push edx
push 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa8], 0xd
call ebx
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], 0xe
call fcn.00401c20
mov edx, dword [esp + 0x60]
mov esi, dword [0x41a358]
mov byte [esp + 0x98], 0xd
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x413b67
mov ecx, dword [esp + 0x60]
push ecx
call esi
add esp, 4
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x98], 9
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x413b86
mov ecx, dword [esp + 0x3c]
push ecx
call esi
add esp, 4
mov edx, dword [esp + 0x28]
mov byte [esp + 0x98], 8
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x413ba5
mov ecx, dword [esp + 0x28]
push ecx
call esi
add esp, 4
dec dword [esp + 0x80]
mov edi, dword [esp + 0x4c]
jmp 0x413970
mov edx, dword [esp + 0x40]
mov byte [esp + 0x98], 7
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x413bd8
mov ecx, dword [esp + 0x40]
push ecx
call dword [0x41a358]
add esp, 4
mov eax, dword [esp + 0x84]
add eax, 4
mov dword [esp + 0x84], eax
jmp 0x413930
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x98], 6
test eax, eax
je 0x413c3d
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x413c3d
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0xc]
lea edx, [eax + ecx*4 + 0x14]
mov ecx, dword [eax + 8]
push edx
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x84]
mov esi, eax
call fcn.00401510
mov eax, dword [esi]
test eax, eax
jne 0x413c3d
mov ebp, dword [0x41a2f0]
push esi
call ebp
add esp, 4
jmp 0x413c43
mov ebp, dword [0x41a2f0]
lea ecx, [esp + 0x30]
push ecx
push ecx
mov edx, esp
mov dword [esp + 0x68], esp
push edx
call dword [0x41a2a4]
lea eax, [esp + 0x7c]
add esp, 4
push eax
call fcn.00405220
add esp, 0xc
lea ecx, [esp + 0x70]
call dword [0x41a2b8]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x70]
call dword [0x41a124]
push ecx
mov eax, esp
mov dword [esp + 0x74], esp
push ecx
mov dword [eax], 0xffffffff
mov eax, esp
mov dword [esp + 0x78], esp
lea edx, [esp + 0x38]
mov dword [eax], 2
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 0xf
call dword [0x41a128]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
xor esi, esi
mov byte [esp + 0x98], 0x10
test ecx, ecx
jle 0x413e25
mov edi, dword [0x41a1e8]
mov byte [esp + 0x70], 0x20
mov ebp, dword [esp + 0x70]
mov byte [esp + 0x60], 0x20
push ebp
lea ecx, [esp + 0x26]
call dword [0x41a34c]
mov edx, dword [esp + 0x60]
push edx
lea ecx, [esp + 0x24]
call dword [0x41a34c]
push 0xffffffffffffffff
push 0x41e3f8
call dword [0x41a350]
add esp, 8
mov dword [esp + 0x44], eax
lea eax, [esp + 0x20]
push eax
push 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0xa8], 0x11
call ebx
lea ecx, [esp + 0x22]
push ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 8]
add edx, esi
lea ecx, [ecx + edx*4 + 0x14]
push 0
push ecx
lea edx, [esp + 0x70]
push edx
mov ecx, eax
mov byte [esp + 0xa8], 0x12
call ebx
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0xa0], 0x13
call edi
add esp, 8
mov ecx, dword [esp + 0x64]
mov byte [esp + 0x98], 0x15
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x413d8e
mov eax, dword [esp + 0x64]
push eax
call dword [0x41a358]
add esp, 4
mov ecx, dword [esp + 0x68]
mov byte [esp + 0x98], 0x16
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x413db1
mov eax, dword [esp + 0x68]
push eax
call dword [0x41a358]
add esp, 4
mov ecx, dword [esp + 0x44]
mov byte [esp + 0x98], 0x17
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x413dd4
mov eax, dword [esp + 0x44]
push eax
call dword [0x41a358]
add esp, 4
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [edx + 0x18]
call fcn.0040ac70
mov eax, dword [esp + 0x48]
mov byte [esp + 0x98], 0x10
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x413e08
mov edx, dword [esp + 0x48]
push edx
call dword [0x41a358]
add esp, 4
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
inc esi
cmp esi, ecx
jl 0x413ce5
mov ebp, dword [0x41a2f0]
mov edi, dword [esp + 0x4c]
mov edx, dword [edi + 0x14]
mov ecx, dword [edx + 0x70]
mov esi, dword [0x41a71c]
push 3
call esi
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + 0x70]
push 4
call esi
mov ecx, dword [edi + 0x14]
mov ecx, dword [ecx + 0x70]
push 5
call esi
mov edx, dword [edi + 0x14]
mov ecx, dword [edx + 0x70]
push 6
call esi
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + 0x70]
push 7
call esi
mov ecx, dword [edi + 0x14]
mov ecx, dword [ecx + 0x70]
push 8
call esi
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x98], 0xf
test eax, eax
je 0x413ec3
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x413ec3
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x14]
lea edi, [eax + edx*4 + 0x14]
mov ebx, eax
cmp edi, esi
je 0x413eb7
mov eax, dword [esi - 4]
sub esi, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x413eb3
mov edx, dword [esi]
push edx
call dword [0x41a358]
add esp, 4
cmp esi, edi
jne 0x413e98
mov eax, dword [ebx]
test eax, eax
jne 0x413ec3
push ebx
call ebp
add esp, 4
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 6
call dword [0x41a12c]
mov eax, dword [esp + 0x30]
mov byte [esp + 0x98], 5
test eax, eax
je 0x413f31
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x413f31
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea esi, [eax + edx*4 + 0x14]
lea edi, [eax + ecx*4 + 0x14]
mov ebx, eax
cmp edi, esi
je 0x413f25
mov edx, dword [esi - 4]
sub esi, 4
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x413f21
mov ecx, dword [esi]
push ecx
call dword [0x41a358]
add esp, 4
cmp esi, edi
jne 0x413f06
mov edx, dword [ebx]
test edx, edx
jne 0x413f31
push ebx
call ebp
add esp, 4
mov eax, dword [esp + 0x50]
mov byte [esp + 0x98], 4
test eax, eax
je 0x413f8d
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x413f8d
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea esi, [eax + edx*4 + 0x14]
lea edi, [eax + ecx*4 + 0x14]
mov ebx, eax
cmp edi, esi
je 0x413f81
mov edx, dword [esi - 4]
sub esi, 4
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x413f7d
mov ecx, dword [esi]
push ecx
call dword [0x41a358]
add esp, 4
cmp esi, edi
jne 0x413f62
mov edx, dword [ebx]
test edx, edx
jne 0x413f8d
push ebx
call ebp
add esp, 4
mov eax, dword [esp + 0x24]
or ecx, 0xffffffff
mov dword [esp + 0x98], ecx
lock xadd dword [eax], ecx
jne 0x413faf
mov edx, dword [esp + 0x24]
push edx
call dword [0x41a358]
add esp, 4
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret