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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f0b43
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [str.rP_]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [str.rP_]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov byte [esp + 0x13], bl
call dword [0x4fa23c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], str.:7799
mov dword [esp + 0x2c], str.:6217
mov dword [esp + 0x30], str.:25871
nop
mov dword [esp + 0x14], ebx
mov dword [esp + 0xbc], 0xf
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
mov edx, dword [esp + 0x18]
mov dword [esp + 0xf0], ebx
mov eax, dword [edx + 0xbc]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x24]
mov edi, 7
xor edx, edx
mov eax, ecx
mov byte [esp + 0x12], bl
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], dx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x412052
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x94]
call fcn.00405a90
mov byte [esp + 0xf0], 1
test byte [0x527450], 1
jne 0x4120e6
or dword [0x527450], 1
mov eax, dword [esp + 0x18]
mov byte [esp + 0xf0], 2
mov ecx, dword [eax + 0xbc]
mov ecx, dword [ecx + 0x24]
xor edx, edx
mov eax, ecx
mov dword [0x5273e4], edi
mov dword [0x5273e0], ebx
mov word [0x5273d0], dx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4120b6
sub eax, esi
sar eax, 1
push eax
push ecx
mov ecx, 0x5273d0
call fcn.00405a90
push 0x4f9720
call fcn.00482e37
add esp, 4
mov byte [esp + 0xf0], 1
mov dword [esp + 0x1c], ebx
lea ebx, [ebx]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + eax*4 + 0x28]
mov ecx, eax
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x412100
sub ecx, esi
sar ecx, 1
mov ebx, ecx
call fcn.00420e30
cmp dword [0x5273e4], 8
mov eax, dword [0x5273d0]
jae 0x412129
mov eax, 0x5273d0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xbc]
mov dword [edx + 0x24], eax
mov ecx, dword [ecx + 0xbc]
lea esi, [esp + 0xc4]
call fcn.00410e40
xor ebx, ebx
push 0xffffffffffffffff
mov byte [esp + 0xf4], 3
push ebx
mov esi, 0xf
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], vtable.tpsp::CCurl.0
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00402c40
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
mov edi, 0x10
mov byte [esp + 0xf0], 7
cmp dword [esp + 0xd8], edi
jb 0x4121bc
mov eax, dword [esp + 0xc4]
push eax
call fcn.00482674
add esp, 4
lea edx, [esp + 0x38]
lea ecx, [esp + 0x34]
mov dword [esp + 0xd8], esi
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
call fcn.00403450
push 0xffffffffffffffff
push ebx
test eax, eax
je 0x4122a0
lea ecx, [esp + 0x94]
push ecx
mov ecx, 0x5273d0
call fcn.00405990
mov dword [esp + 0x34], vtable.tpsp::CCurl.0
mov byte [esp + 0xf0], 0xb
cmp dword [esp + 0x84], edi
jb 0x412221
mov edx, dword [esp + 0x70]
push edx
call fcn.00482674
add esp, 4
mov byte [esp + 0xf0], 0xa
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
cmp dword [esp + 0x68], edi
jb 0x41224e
mov eax, dword [esp + 0x54]
push eax
call fcn.00482674
add esp, 4
mov byte [esp + 0xf0], 1
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
cmp dword [esp + 0x4c], edi
jb 0x412275
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00482674
add esp, 4
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
xor ebx, ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x1c], eax
cmp eax, 3
jb 0x4120f0
lea esi, [ebx + 0xf]
lea edi, [ebx + 0x10]
jmp 0x41233c
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1e], 1
call fcn.00402c40
mov dword [esp + 0x34], vtable.tpsp::CCurl.0
mov byte [esp + 0xf0], 9
cmp dword [esp + 0x84], edi
jb 0x4122dc
mov eax, dword [esp + 0x70]
push eax
call fcn.00482674
add esp, 4
mov byte [esp + 0xf0], 8
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
cmp dword [esp + 0x68], edi
jb 0x412309
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00482674
add esp, 4
mov byte [esp + 0xf0], 1
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
cmp dword [esp + 0x4c], edi
jb 0x412330
mov edx, dword [esp + 0x38]
push edx
call fcn.00482674
add esp, 4
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0xf0], bl
cmp dword [esp + 0xa0], 8
jb 0x41235d
mov eax, dword [esp + 0x8c]
push eax
call fcn.00482674
add esp, 4
xor ecx, ecx
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], cx
cmp byte [esp + 0x12], bl
je 0x4123b4
cmp dword [esp + 0xb8], ebx
je 0x4123bc
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 7
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.Status:
mov byte [ecx], bl
call fcn.00402a50
lea ecx, [esp + 0x3c]
call fcn.0041f5f0
mov dword [esp + 0x14], eax
jmp 0x4123bc
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0xf0], 0xffffffff
cmp dword [esp + 0xbc], edi
jb 0x4123e0
mov edx, dword [esp + 0xa8]
push edx
call fcn.00482674
add esp, 4
cmp dword [esp + 0x14], ebx
je 0x412409
push 0xbb8
call dword [0x4fa294]
call dword [0x4fa23c]
sub eax, dword [esp + 0x24]
cmp eax, 0x493e0
ja 0x41240d
xor ebx, ebx
jmp 0x411ff0
mov al, 1
jmp 0x412411
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.004822c9
mov esp, ebp
pop ebp
ret 4