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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4673c8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x48fac0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x48fac0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x80], edi
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], edi
mov byte [esp + 0x54], 0
lea esi, [eax + 1]
jmp 0x411680
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x411680
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.00403500
mov dword [esp + 0x6c], edi
mov byte [esp + 0x80], 1
call fcn.00437eea
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4116bc
push 0x80004005
call fcn.00401210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x80], 2
call fcn.00437eea
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4116ee
push 0x80004005
call fcn.00401210
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 + 0x80], 3
call fcn.00437eea
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x411720
push 0x80004005
call fcn.00401210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x80], 4
call fcn.00437eea
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x411752
push 0x80004005
call fcn.00401210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x84], 5
mov byte [esp + 0x17], 0
mov byte [esp + 0x23], 0
call fcn.0040fe90
test al, al
je 0x411c49
cmp byte [esp + 0x1f], 0
je 0x4117bb
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x4117bb
mov esi, dword [esp + 0x20]
cmp dword [esi - 0xc], edi
jl 0x4117bb
push eax
push esi
call fcn.0044af93
add esp, 8
cmp eax, edi
je 0x4117bb
sub eax, esi
cmp eax, 0xffffffff
jne 0x411c16
push str.__n_r_t
lea ecx, [esp + 0x24]
call fcn.0040f8d0
push str.__n_r_t
lea ecx, [esp + 0x24]
call fcn.0040f860
mov esi, dword [esp + 0x20]
mov eax, dword [esi - 0xc]
cmp eax, edi
jne 0x411910
cmp byte [esp + 0x13], 0
je 0x41190e
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x411817
push esi
lea ecx, [esp + 0x18]
call fcn.00408660
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.0044ae00
push eax
call fcn.004010a0
add esp, 0xc
cmp esi, edi
jl 0x411c55
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x411c55
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x14]
mov byte [esi + ecx], 0
push edx
lea ecx, [esp + 0x2c]
call fcn.00411580
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], edi
mov esi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
je 0x4118aa
cmp dword [eax + 0xc], edi
lea edx, [eax + 0xc]
jge 0x411884
cmp dword [ecx - 8], edi
jl 0x411c55
mov dword [ecx - 0xc], edi
mov eax, dword [esp + 0x14]
mov byte [eax], 0
jmp 0x4118aa
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41189a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x18]
cmp dword [edx - 0xc], edi
mov esi, dword [edx - 0x10]
lea eax, [edx - 0x10]
je 0x411904
cmp dword [eax + 0xc], edi
lea ecx, [eax + 0xc]
jge 0x4118de
cmp dword [edx - 8], edi
jl 0x411c55
mov dword [edx - 0xc], edi
mov ecx, dword [esp + 0x18]
mov byte [ecx], 0
mov byte [esp + 0x13], 0
jmp 0x411c00
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4118f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x13], 0
jmp 0x411c00
cmp eax, edi
jl 0x411b1e
push 0x46ec6c
push esi
call fcn.0044af93
add esp, 8
cmp eax, edi
je 0x411b1e
sub eax, esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x411b1e
cmp byte [esp + 0x13], 0
jne 0x4119f6
push ebx
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x28]
call fcn.0040fa00
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 6
call fcn.0040baf0
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x80], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41198d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi - 0xc]
sub esi, ebx
sub esi, 2
push esi
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x28]
call fcn.0040f980
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 7
call fcn.0040baf0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x80], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4119de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x46ec48
lea ecx, [esp + 0x1c]
call fcn.0040f860
mov byte [esp + 0x13], 1
jmp 0x411c00
mov edx, dword [esp + 0x14]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x411a1c
push edi
lea ecx, [esp + 0x18]
call fcn.00408660
mov edx, dword [esp + 0x14]
lea ecx, [edi + 1]
push ecx
push edx
call fcn.0044ae00
push eax
call fcn.004010a0
add esp, 0xc
test edi, edi
jl 0x411c55
mov eax, dword [esp + 0x14]
cmp edi, dword [eax - 8]
jg 0x411c55
mov dword [eax - 0xc], edi
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
mov byte [edi + edx], 0
call fcn.00411580
lea ecx, [esp + 0x14]
call fcn.00408470
lea ecx, [esp + 0x18]
call fcn.00408470
push ebx
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x28]
call fcn.0040fa00
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 8
call fcn.0040baf0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x80], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411ab8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi - 0xc]
sub esi, ebx
sub esi, 2
push esi
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x28]
call fcn.0040f980
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 9
call fcn.0040baf0
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x80], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411b09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x46ec48
lea ecx, [esp + 0x1c]
call fcn.0040f860
xor edi, edi
jmp 0x411c00
cmp byte [esp + 0x13], 0
je 0x411b5f
cmp dword [esi - 0xc], edi
jl 0x411b43
push str.Status:
push esi
call fcn.0044af93
add esp, 8
cmp eax, edi
je 0x411b43
sub eax, esi
cmp eax, 0xffffffff
jne 0x411b5f
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.0040f750
push 0x46ec48
lea ecx, [esp + 0x1c]
call fcn.0040f860
cmp byte [esp + 0x1f], 0
jne 0x411c00
cmp dword [esi - 0xc], edi
jl 0x411c00
push str.boundary
push esi
call fcn.0044af93
add esp, 8
cmp eax, edi
je 0x411c00
sub eax, esi
mov ecx, eax
cmp ecx, 0xffffffff
je 0x411c00
mov eax, dword [esi - 0xc]
sub eax, ecx
sub eax, 9
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x27], 1
call fcn.0040f980
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 0xa
call fcn.0040baf0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x80], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411be4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.__n_r_t_
lea ecx, [esp + 0x28]
call fcn.0040f8d0
push str.__n_r_t_
lea ecx, [esp + 0x28]
call fcn.0040f860
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x54]
call fcn.0040fe90
test al, al
jne 0x41178a
cmp byte [esp + 0x13], 0
je 0x411c49
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x411c32
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0040ceb0
add esp, 8
lea ecx, [esp + 0x14]
call fcn.0040f800
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
call fcn.00411580
mov ecx, dword [esp + 0x2c]
cmp ecx, edi
jne 0x411c5f
xor eax, eax
jmp 0x411c68
push 0x80070057
call fcn.00401210
mov eax, dword [esp + 0x30]
sub eax, ecx
sar eax, 3
cmp eax, edi
mov ecx, dword [esp + 0x38]
mov dword [ecx + 4], eax
je 0x411da1
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
cmp eax, edi
je 0x411c8c
push eax
call fcn.00437b08
add esp, 4
mov dword [esi], edi
mov eax, dword [esi + 4]
xor ecx, ecx
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00437b0d
add esp, 4
cmp eax, edi
mov dword [esi], eax
jne 0x411d4c
lea ecx, [esp + 0x14]
mov dword [esi + 4], edi
call fcn.00419730
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x80], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411ce6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x80], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411d0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x68], 0x10
jb 0x411d22
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00437b08
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], edi
mov byte [esp + 0x54], 0
mov dword [esp + 0x80], 0xffffffff
call fcn.004109a0
jmp 0x411e97
xor esi, esi
xor edi, edi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x411da1
mov edx, dword [esp + 0x30]
mov ecx, edx
sub ecx, eax
sar ecx, 3
cmp esi, ecx
jae 0x411da1
test eax, eax
mov ebx, dword [eax + esi*8 + 4]
je 0x411d78
sub edx, eax
sar edx, 3
cmp esi, edx
jb 0x411d81
call fcn.004489e1
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + esi*8]
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
push ebx
add ecx, edi
push edx
push ecx
mov ecx, 0x491088
call fcn.0040fd50
add esi, 1
add edi, 0xc
jmp 0x411d50
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x80], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411dc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411de9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x80], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x80], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x68], 0x10
jb 0x411e4d
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00437b08
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
mov dword [esp + 0x80], 0xffffffff
je 0x411e97
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.0040fcb0
mov eax, dword [esp + 0x3c]
push eax
call fcn.00437b08
add esp, 0x14
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00448e02
mov esp, ebp
pop ebp
ret 8