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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dfca1
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x5181f4]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x5181f4]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov esi, ecx
push edi
lea ecx, [esp + 0xb0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0xc8], 7
call fcn.00404d28
push esi
lea ecx, [esp + 0x78]
mov dword [esp + 0xdc], edi
call fcn.0040433e
mov ebx, str.ncacn_ip_tcp
push ebx
lea ecx, [esp + 0x94]
mov byte [esp + 0xdc], 1
call fcn.0040431c
push 6
push str.SecurityLevel
mov byte [esp + 0xe0], 2
call fcn.00418d42
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
push 1
mov byte [esp + 0xe4], 3
push dword [esp + 0x1c]
lea eax, [esp + 0x4c]
push eax
call fcn.004a98d0
add esp, 0x14
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe4], 4
call fcn.00404c75
push edi
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0xe0], 3
call fcn.00404df2
cmp dword [esp + 0xc0], edi
jne 0x41a0ce
mov esi, dword [esp + 0x18]
cmp esi, edi
je 0x41a072
mov ebx, dword [esp + 0x1c]
jmp 0x41a064
call fcn.0041a4c9
add esi, 0x38
cmp esi, ebx
jne 0x41a05c
push dword [esp + 0x18]
call fcn.00441cca
pop ecx
push edi
push 1
lea ecx, [esp + 0x98]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.00404df2
push edi
push 1
lea ecx, [esp + 0x7c]
call fcn.00404df2
push edi
push 1
lea ecx, [esp + 0xb4]
call fcn.00404df2
xor eax, eax
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.00441cbb
mov esp, ebp
pop ebp
ret
push 1
push edi
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x1c], 0x5b
call fcn.0041a9cf
push 1
mov dword [esp + 0x38], eax
push edi
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x1c], 0x5d
call fcn.0041a9cf
cmp dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x2c], eax
je 0x41a187
cmp eax, 0xffffffff
je 0x41a187
cmp eax, dword [esp + 0x34]
jbe 0x41a187
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
mov dword [esp + 0x10], eax
jb 0x41a125
mov eax, dword [eax]
push dword [esp + 0x34]
lea ecx, [esp + 0x94]
push eax
call fcn.00404373
cmp dword [esi + 0x18], 8
mov eax, dword [esp + 0x10]
jb 0x41a142
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x40]
call fcn.0040431c
mov ecx, dword [esp + 0x34]
mov byte [esp + 0xd8], 5
mov eax, dword [esp + 0x2c]
sub eax, ecx
dec eax
push eax
inc ecx
push ecx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x80]
call fcn.00404c75
push edi
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0xe0], 3
call fcn.00404df2
push ebx
lea ecx, [esp + 0x40]
call fcn.0040431c
mov esi, 0x4fdf24
push esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0xdc], 6
call fcn.0040431c
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0xdc], 7
call fcn.0041a911
push edi
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0xe0], 3
call fcn.00404df2
push edi
push 1
lea ecx, [esp + 0x44]
call fcn.00404df2
push esi
lea ecx, [esp + 0x78]
call fcn.0041b74c
test eax, eax
jne 0x41a1fd
push ebx
lea ecx, [esp + 0x94]
call fcn.0041b74c
test eax, eax
je 0x41a275
sub esp, 0x1c
lea eax, [esp + 0x90]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.0040433e
sub esp, 0x1c
mov byte [esp + 0x110], 8
lea eax, [esp + 0xc8]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.0040433e
lea esi, [esp + 0x74]
mov byte [esp + 0x110], 3
call fcn.0041b583
add esp, 0x38
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0xdc], 9
call fcn.0041a911
push edi
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0xe0], 3
call fcn.00404df2
push edi
push 1
mov ecx, esi
call fcn.00404df2
cmp dword [esp + 0x88], edi
je 0x41a2b7
mov esi, dword [esp + 0x18]
cmp esi, dword [esp + 0x1c]
jbe 0x41a291
call fcn.00441e1b
cmp esi, dword [esp + 0x1c]
jb 0x41a298
call fcn.00441e1b
lea eax, [esp + 0x14]
call fcn.0041a8cd
mov ebx, eax
push ebx
mov ecx, esi
call fcn.00406fb9
add ebx, 0x1c
push ebx
lea ecx, [esi + 0x1c]
call fcn.00406fb9
mov esi, dword [esp + 0x18]
cmp esi, dword [esp + 0x1c]
jbe 0x41a2c6
call fcn.00441e1b
lea eax, [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x18], esi
jbe 0x41a2df
call fcn.00441e1b
cmp ebx, edi
je 0x41a2eb
lea eax, [esp + 0x14]
cmp ebx, eax
je 0x41a2f0
call fcn.00441e1b
cmp dword [esp + 0x30], esi
jne 0x41a3e4
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [esp + 0x18]
cmp esi, edi
je 0x41a447
mov ebx, dword [esp + 0x1c]
jmp 0x41a4c0
cmp dword [esp + 0x88], edi
jne 0x41a326
xor eax, eax
jmp 0x41a338
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x41a338
lea eax, [esp + 0x78]
cmp dword [esp + 0xa4], edi
jne 0x41a345
xor edx, edx
jmp 0x41a35d
cmp dword [esp + 0xa8], 8
mov edx, dword [esp + 0x94]
jae 0x41a35d
lea edx, [esp + 0x94]
cmp dword [esp + 0xc4], 8
mov ecx, dword [esp + 0xb0]
jae 0x41a375
lea ecx, [esp + 0xb0]
push edi
push dword [esp + 0x2c]
lea esi, [esp + 0x2c]
push esi
push eax
call fcn.0042bc23
add esp, 0x10
test eax, eax
je 0x41a423
cmp dword [esp + 0x24], edi
je 0x41a3f1
cmp dword [0x51a610], 0x500
jbe 0x41a3bd
push 0xf
pop eax
call fcn.004169fd
imul eax, eax, 0x3e8
push eax
push 0xc
push dword [esp + 0x2c]
call dword [sym.imp.RPCRT4.dll_RpcBindingSetOption]
push dword [esp + 0x24]
call fcn.0049cb40
mov dword [esp + 0x38], eax
dec eax
je 0x41a486
sub eax, 4
lea eax, [esp + 0x24]
push eax
jne 0x41a3fd
call fcn.0049cc90
dec dword [esp + 0x28]
cmp dword [esp + 0x28], 1
jae 0x41a319
jmp 0x41a402
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x38], eax
jmp 0x41a402
call fcn.0049cc90
cmp ebx, edi
jne 0x41a40b
call fcn.00441e1b
mov eax, dword [esp + 0x30]
cmp eax, dword [ebx + 8]
jb 0x41a419
call fcn.00441e1b
add dword [esp + 0x30], 0x38
jmp 0x41a2d0
mov esi, dword [esp + 0x18]
cmp esi, edi
je 0x41a447
mov ebx, dword [esp + 0x1c]
jmp 0x41a439
call fcn.0041a4c9
add esi, 0x38
cmp esi, ebx
jne 0x41a431
push dword [esp + 0x18]
call fcn.00441cca
pop ecx
xor esi, esi
push edi
push 1
lea ecx, [esp + 0x98]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.00404df2
push edi
push 1
lea ecx, [esp + 0x7c]
call fcn.00404df2
push edi
push 1
lea ecx, [esp + 0xb4]
call fcn.00404df2
mov eax, esi
jmp 0x41a0aa
mov esi, dword [esp + 0x18]
cmp esi, edi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
je 0x41a4b2
mov ebx, dword [esp + 0x1c]
jmp 0x41a4a4
call fcn.0041a4c9
add esi, 0x38
cmp esi, ebx
jne 0x41a49c
push dword [esp + 0x18]
call fcn.00441cca
pop ecx
mov esi, dword [esp + 0x2c]
jmp 0x41a449
call fcn.0041a4c9
add esi, 0x38
cmp esi, ebx
jne 0x41a4b8
jmp 0x41a43d