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

Disassembly:
push 0xffffffffffffffff
push 0x469975
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x4896a0]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4896a0]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2bc]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x70], edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2b0], 1
call fcn.0043896f
lea ecx, [esp + 0x38]
mov byte [esp + 0x2b0], 2
call fcn.004351a2
push 0x46d8b4
lea ecx, [esp + 0x2bc]
mov byte [esp + 0x2b4], 3
call fcn.00416ac0
push 0x46f680
lea eax, [esp + 0x2bc]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004038b0
add esp, 0xc
mov eax, dword [eax]
xor ebp, ebp
push ebp
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x2b8], 4
call fcn.00438a04
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2b0], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416e23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebp
je 0x417206
mov bl, 7
lea ecx, [ecx]
lea ecx, [esp + 0x4c]
call fcn.004387f6
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1c], eax
call fcn.00438934
test eax, eax
jne 0x4171fc
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x50]
call eax
test eax, eax
je 0x416e9a
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x50]
call fcn.00438bb2
mov edx, dword [esp + 0x40]
push eax
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x2b8], 5
call fcn.00435452
mov eax, dword [esp + 0x18]
mov byte [esp + 0x2b0], 3
add eax, 0xfffffff0
jmp 0x4171e3
push 0xff
lea ecx, [esp + 0x1a9]
push ebp
push ecx
mov byte [esp + 0x1b0], 0
call fcn.00449a70
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x50]
call fcn.00438bb2
mov eax, dword [eax]
push 0x100
lea ecx, [esp + 0x1a8]
push ecx
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push eax
call fcn.0044c4cc
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x24
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416f04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1a4]
push 0x100
push ecx
call fcn.0044d01c
add esp, 8
push str..CDG
lea edx, [esp + 0x1a8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x416f3d
cmp dword [esp + 0x2c4], ebp
je 0x4171fc
xor esi, esi
nop
mov eax, dword [esi + 0x48753c]
push eax
lea ecx, [esp + 0x1a8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4171fc
add esi, 4
cmp esi, 0x30
jb 0x416f40
call fcn.0042fb43
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
je 0x4172c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x2b0], 6
call fcn.0042fb43
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
je 0x4172c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
push ebp
push 0x46db5c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2b8], bl
call fcn.004033c0
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x50]
call fcn.00438bb2
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x2b4], 8
call fcn.004037f0
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
mov byte [esp + 0x2b0], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417012
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
push 0x46db5c
lea ecx, [esp + 0x30]
call fcn.004033c0
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x50]
call fcn.004389c6
mov esi, eax
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x2b4], 9
call fcn.004389c6
mov ecx, dword [esi]
mov edx, dword [ecx - 0xc]
mov ecx, dword [esp + 0x2c0]
sub edx, dword [ecx - 0xc]
mov ecx, eax
push edx
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x2b8], 0xa
call fcn.00403550
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2b4], 0xb
call fcn.004037f0
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
mov byte [esp + 0x2b0], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4170a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov byte [esp + 0x2b0], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4170cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
mov byte [esp + 0x2b0], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4170f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x46d8b4
lea ecx, [esp + 0x30]
call fcn.004036d0
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x50]
call fcn.00438c3e
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x2b8], 0xc
call fcn.004036d0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x2b0], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417151
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x7c]
push ecx
push esi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebp
call fcn.00427bc2
test eax, eax
je 0x4171b8
mov edx, dword [esp + 0x94]
sub esp, 0x10
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x40], 0
mov dword [esp + 0x44], edx
call fcn.00416840
mov ecx, edi
call fcn.00416b60
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x2b0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4171e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4171fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x1c], ebp
jne 0x416e30
xor ebx, ebx
cmp dword [esp + 0x40], ebp
mov dword [esp + 0x18], ebx
jg 0x4172d6
lea ecx, [esp + 0x38]
mov byte [esp + 0x2b0], 2
call fcn.00435359
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2b0], 1
call fcn.00438995
mov eax, dword [esp + 0x2b8]
add eax, 0xfffffff0
mov byte [esp + 0x2b0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417263
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c0]
add eax, 0xfffffff0
mov dword [esp + 0x2b0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417291
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.00449ba6
add esp, 0x2a0
ret 0x10
push 0x80004005
call fcn.00402930
lea ebx, [ebx]
mov ebx, dword [esp + 0x18]
xor ebp, ebp
push 0x46db5c
lea ecx, [esp + 0x18]
call fcn.00403c70
cmp ebx, ebp
mov byte [esp + 0x2b0], 0xd
jl 0x41760e
cmp ebx, dword [esp + 0x40]
jge 0x41760e
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + ebx*4]
mov eax, dword [edx - 0xc]
mov edx, dword [esp + 0x2c0]
sub eax, dword [edx - 0xc]
lea ecx, [ecx + ebx*4]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00403550
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
mov byte [esp + 0x2b0], 0xe
cmp eax, esi
je 0x417380
cmp dword [esi + 0xc], ebp
lea edi, [esi + 0xc]
jl 0x417372
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x417372
push eax
call fcn.004030b0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x417367
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x14], ebp
xor ebp, ebp
jmp 0x417380
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004033c0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2b0], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4173a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x46d8b4
lea ecx, [esp + 0x1c]
call fcn.004036d0
cmp ebx, dword [esp + 0x40]
jge 0x41760e
mov ecx, dword [esp + 0x3c]
mov esi, dword [ecx + ebx*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x30], esp
mov dword [esp + 0x30], edi
call eax
cmp dword [esi + 0xc], ebp
lea ecx, [esi + 0xc]
jl 0x4173fc
cmp eax, dword [esi]
jne 0x4173fc
mov ebp, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x417430
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
je 0x417609
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [ebp + 0x10]
push ecx
call fcn.0044ac2f
add esp, 0x10
add ebp, 0x10
mov dword [edi], ebp
mov esi, dword [esp + 0x24]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov byte [esp + 0x2c0], 0xf
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x417468
cmp eax, dword [esi]
jne 0x417468
mov ebp, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41749c
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
je 0x417609
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [ebp + 0x10]
push ecx
call fcn.0044ac2f
add esp, 0x10
mov ebx, dword [esp + 0x80]
add ebp, 0x10
mov dword [edi + 4], ebp
mov ecx, ebx
mov byte [edi + 8], 1
mov dword [edi + 0xc], 0
mov byte [esp + 0x2c0], 0xd
call fcn.00416b60
mov edx, dword [esp + 0x2c4]
mov esi, dword [esp + 0x2c0]
push edx
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x28], esp
mov ebp, esp
call edx
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x417500
cmp eax, dword [esi]
jne 0x417500
mov edi, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x417534
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x417609
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0044ac2f
add esp, 0x10
add edi, 0x10
mov dword [ebp], edi
push ebx
mov ebx, dword [esp + 0x24]
cmp ebx, dword [esp + 0x4c]
mov byte [esp + 0x2bc], 0x10
jge 0x41760e
mov edx, dword [esp + 0x48]
mov esi, dword [edx + ebx*4]
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
mov dword [esp + 0x44], esp
mov ebp, esp
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x417586
cmp eax, dword [esi]
jne 0x417586
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4175b6
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x417609
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0044ac2f
add esp, 0x10
mov ecx, dword [esp + 0x74]
add edi, 0x10
mov dword [ebp], edi
mov byte [esp + 0x2c0], 0xd
call fcn.00416d40
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x2b0], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4175f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebx
cmp ebx, dword [esp + 0x40]
mov dword [esp + 0x18], ebx
jl 0x4172d0
jmp 0x417216
call fcn.00402cb0
call fcn.0042dfb7
int3