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

Disassembly:
push 0xffffffffffffffff
push 0x4a4678
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, dword [esp + 0x80]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x50]
push eax
push ecx
call dword [0x4a7468]
cmp dword [edi + 0x24], 0
mov ebx, dword [esp + 0x84]
jne 0x414f04
push ebx
call dword [0x4a70b4]
mov dword [edi + 0x24], eax
lea edx, [esp + 0x48]
push edx
call dword [0x4a7448]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [0x4a7450]
cmp dword [edi + 0x28], 0
mov edx, dword [edi + 0x1484]
mov dword [esp + 0x24], edx
jne 0x4152e6
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x50]
push eax
push ecx
push ebx
call dword [0x4a70b0]
mov ebp, dword [0x4a70ac]
push eax
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x24]
push eax
call ebp
mov ecx, dword [edi + 0x24]
mov ebx, dword [0x4a70b8]
push 0xffffff
push ecx
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x414f95
mov eax, dword [edi + 0x24]
push 0
push 0
push 0
lea edx, [esp + 0x5c]
push edx
push 2
push 0
push 0
push eax
call dword [0x4a70c0]
mov ecx, dword [edi + 0x24]
push esi
push ecx
call ebx
push 0xe9d3bb
xor esi, esi
push 1
push esi
mov dword [esp + 0x84], esi
call dword [0x4a70a8]
mov edx, dword [edi + 0x24]
push eax
push edx
mov dword [esp + 0x3c], eax
call ebp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
imul eax, eax, 0x168
lea ebx, [eax + edi + 0x70]
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], ebx
jmp 0x414fd9
mov ebp, dword [0x4a70ac]
mov ecx, dword [ebx - 0xc]
mov eax, dword [ebx - 8]
xor esi, esi
cmp dword [ebx - 4], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
jl 0x415028
mov ebp, eax
mov edx, dword [esp + 0x38]
mov eax, dword [edi + 0x24]
push 0
push ebp
push edx
push eax
call dword [0x4a709c]
mov eax, dword [ebx]
mov ecx, dword [edi + 0x24]
imul eax, eax, 0x19
add eax, dword [esp + 0x38]
push ebp
push eax
push ecx
call dword [0x4a70c8]
add esi, 1
add ebp, 0x16
cmp esi, dword [ebx - 4]
jle 0x414ff0
mov ebp, dword [0x4a70ac]
xor esi, esi
cmp dword [ebx], esi
jl 0x41506a
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [edi + 0x24]
push 0
push edx
push ebp
push eax
call dword [0x4a709c]
mov eax, dword [ebx - 4]
mov ecx, dword [edi + 0x24]
imul eax, eax, 0x16
add eax, dword [esp + 0x3c]
push eax
push ebp
push ecx
call dword [0x4a70c8]
add esi, 1
add ebp, 0x19
cmp esi, dword [ebx]
jle 0x415032
mov ebp, dword [0x4a70ac]
mov eax, dword [ebx + 4]
cmp eax, 2
jne 0x41507c
mov eax, dword [edi + 0x34]
mov edx, dword [edi + 0x24]
push eax
push edx
jmp 0x415093
cmp eax, 1
jne 0x41508b
mov eax, dword [edi + 0x30]
push eax
mov eax, dword [edi + 0x24]
push eax
jmp 0x415093
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x24]
push eax
push ecx
call ebp
xor ebp, ebp
cmp dword [ebx], ebp
mov dword [esp + 0x20], eax
je 0x415287
lea eax, [ebx - 0xc]
push eax
call fcn.00413880
mov dword [esp + 0x2c], eax
mov ecx, ebp
lea esi, [esp + 0x1c]
lea eax, [ebx - 0xc]
call fcn.00413820
mov byte [esp + 0x78], 1
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], 0
je 0x415255
mov ebx, dword [ebx]
mov eax, ebp
cdq
idiv ebx
mov eax, ebp
mov edi, dword [esp + 0x38]
mov esi, edx
cdq
imul esi, esi, 0x19
idiv ebx
mov eax, ebp
add esi, edi
add esi, 3
mov dword [esp + 0x60], esi
lea esi, [esp + 0x14]
mov ecx, edx
cdq
idiv ebx
add ecx, 1
imul ecx, ecx, 0x19
add ecx, edi
add ecx, 0xfffffffd
mov dword [esp + 0x68], ecx
mov ecx, ebp
mov edi, eax
mov eax, ebp
imul edi, edi, 0x16
cdq
idiv ebx
add edi, dword [esp + 0x3c]
add edi, 3
mov dword [esp + 0x64], edi
add eax, 1
imul eax, eax, 0x16
add eax, dword [esp + 0x3c]
add eax, 0xfffffffd
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
call fcn.00413840
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jne 0x415205
mov edx, dword [esp + 0x1c]
lea esi, [edx - 0x10]
lea ebx, [eax - 0x10]
cmp esi, ebx
je 0x415205
cmp dword [ebx + 0xc], 0
jl 0x4151f4
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x4151f4
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x415197
cmp eax, dword [esi]
jne 0x415197
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4151d2
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x415394
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0047ee72
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4151eb
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
lea eax, [edi + 0x10]
mov dword [esp + 0x14], eax
jmp 0x415205
mov ebx, dword [edx - 0xc]
push edx
lea eax, [esp + 0x18]
call fcn.00404880
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push 0x825
lea edx, [esp + 0x64]
push edx
push ecx
push eax
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x24]
push ecx
call dword [0x4a7480]
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41524a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x78], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add ebp, 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41527d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebp, dword [esp + 0x2c]
jl 0x4150b0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41529a
mov ecx, dword [edi + 0x24]
push eax
push ecx
call dword [0x4a70ac]
mov eax, dword [esp + 0x28]
add eax, 1
add ebx, 0x28
cmp eax, 9
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
jl 0x414fd3
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4152c8
mov edx, dword [edi + 0x24]
push eax
push edx
call dword [0x4a70ac]
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4152df
push eax
call dword [0x4a70cc]
mov ebx, dword [esp + 0x84]
mov eax, dword [edi + 0x24]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esp + 0x64]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x64]
sub edx, ecx
push edx
push eax
push ecx
push ebx
call dword [0x4a70a4]
mov eax, dword [esp + 0x24]
imul eax, eax, 0x168
mov dword [esp + 0x80], 0
lea esi, [eax + edi + 0x70]
jmp 0x415330
mov ecx, dword [esi]
mov edx, dword [esi - 4]
imul ecx, ecx, 0x19
mov eax, dword [esi - 8]
imul edx, edx, 0x16
mov ebp, dword [esi - 0xc]
add edx, eax
add ecx, ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x48]
push eax
mov dword [esp + 0x70], edx
push ecx
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x6c], ebp
call dword [0x4a744c]
test eax, eax
mov eax, dword [esp + 0x80]
jne 0x415399
add eax, 1
add esi, 0x28
cmp eax, 9
mov dword [esp + 0x80], eax
jl 0x415330
jmp 0x4155c9
call fcn.00404720
mov ecx, dword [esp + 0x24]
lea eax, [eax + ecx*8]
add eax, ecx
lea ecx, [eax + eax*4]
lea esi, [edi + ecx*8]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x3c]
mov eax, 0x2e8ba2e9
imul ecx
mov ecx, dword [esp + 0x48]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, dword [esi + 0x70]
mov dword [esp + 0x80], eax
sub ecx, ebp
mov eax, 0x51eb851f
imul ecx
mov eax, dword [esp + 0x80]
sar edx, 3
mov ebp, edx
add eax, edx
shr ebp, 0x1f
add ebp, eax
lea eax, [esi + 0x64]
mov dword [esp + 0x84], esi
mov ecx, ebp
lea esi, [esp + 0x28]
call fcn.00413820
mov ecx, dword [esp + 0x28]
cmp dword [ecx - 0xc], 0
je 0x4155a9
mov edx, dword [esp + 0x84]
mov ecx, dword [edx + 0x70]
mov eax, ebp
cdq
idiv ecx
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
push 0xa2713a
push ebx
imul eax, eax, 0x16
imul edx, edx, 0x19
add esi, eax
add edx, ecx
lea ecx, [edx + 0x19]
lea eax, [esi + 0x16]
sub eax, esi
sub eax, 3
sub ecx, edx
lea ebp, [edx + 2]
mov dword [esp + 0x3c], eax
sub ecx, 3
lea eax, [ecx + ebp]
add esi, 2
mov dword [esp + 0x8c], eax
add eax, 0xffffffff
lea edx, [esi + 1]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
call dword [0x4a70b8]
cmp eax, 0xffffffff
mov dword [esp + 0x80], eax
je 0x4154a9
push 0
push 0
push 0
lea eax, [esp + 0x44]
push eax
push 2
push 0
push 0
push ebx
call dword [0x4a70c0]
mov ecx, dword [esp + 0x80]
push ecx
push ebx
call dword [0x4a70b8]
mov eax, dword [esp + 0x34]
add eax, esi
mov dword [esp + 0x80], eax
push 0xa2713a
lea edx, [ebp + 1]
add eax, 0xffffffff
push ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
call dword [0x4a70b8]
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
je 0x415505
push 0
push 0
push 0
lea ecx, [esp + 0x44]
push ecx
push 2
push 0
push 0
push ebx
call dword [0x4a70c0]
mov edx, dword [esp + 0x34]
push edx
push ebx
call dword [0x4a70b8]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x38], eax
add eax, 0xffffffff
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x80]
push 0xa2713a
mov dword [esp + 0x40], esi
mov esi, dword [0x4a70b8]
push ebx
mov dword [esp + 0x4c], eax
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
je 0x41555d
push 0
push 0
push 0
lea ecx, [esp + 0x44]
push ecx
push 2
push 0
push 0
push ebx
call dword [0x4a70c0]
mov edx, dword [esp + 0x34]
push edx
push ebx
call esi
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x3c], eax
push 0xa2713a
add eax, 0xffffffff
push ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
call esi
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4155a9
push 0
push 0
push 0
lea edx, [esp + 0x44]
push edx
push 2
push 0
push 0
push ebx
call dword [0x4a70c0]
push ebp
push ebx
call esi
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4155c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 4]
push ebx
push ecx
call dword [0x4a742c]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 8