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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6064e0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0051bef0
xor esi, esi
cmp eax, esi
jne 0x4e139a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0051f8a0
call fcn.004e29d0
mov dword [esp + 0x48], eax
mov byte [eax + 0x3d], 1
mov eax, dword [esp + 0x48]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x48]
mov dword [eax], eax
mov eax, dword [esp + 0x48]
mov dword [eax + 8], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x88], esi
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push 1
lea edx, [esp + 0x14]
push edx
call eax
mov byte [esp + 0x88], 1
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
cmp eax, esi
jle 0x4e141a
lea ecx, [eax - 1]
cmp ecx, esi
jl 0x4e14c0
cmp ecx, eax
jg 0x4e14c0
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x4e141a
mov edx, 0x62454c
lea edi, [esp + 0x10]
call fcn.0040ae60
push 0xb
push 0x62573c
lea ecx, [esp + 0x18]
push ecx
call fcn.0040aee0
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x44]
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
call fcn.0040a210
add eax, 0x10
mov dword [esi], eax
call fcn.004e0af0
mov edi, dword [ebp + 8]
push edi
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.004e1910
mov ecx, dword [esp + 0x48]
mov ebx, dword [ecx]
lea esi, [esp + 0x44]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
mov edi, edi
test esi, esi
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], edx
je 0x4e1484
lea eax, [esp + 0x44]
cmp esi, eax
je 0x4e1489
call fcn.005d29f1
cmp ebx, dword [esp + 0x20]
je 0x4e14dd
test esi, esi
jne 0x4e1498
call fcn.005d29f1
cmp ebx, dword [esi + 4]
jne 0x4e14a2
call fcn.005d29f1
cmp dword [ebx + 0x18], 1
jne 0x4e14ca
push ebx
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.004e1d40
mov esi, dword [eax]
mov ebx, dword [eax + 4]
jmp 0x4e1466
push 0x80070057
call fcn.00403650
lea esi, [esp + 0x14]
call fcn.00423430
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
jmp 0x4e1470
mov eax, dword [esp + 0x48]
mov ebx, dword [eax]
lea esi, [esp + 0x44]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
nop
test esi, esi
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
je 0x4e1504
lea edx, [esp + 0x44]
cmp esi, edx
je 0x4e1509
call fcn.005d29f1
cmp ebx, dword [esp + 0x28]
je 0x4e1646
test esi, esi
jne 0x4e151c
call fcn.005d29f1
cmp ebx, dword [esi + 4]
jne 0x4e1526
call fcn.005d29f1
lea eax, [esp + 0x1c]
add ebx, 0xc
push eax
mov eax, ebx
mov esi, edi
call fcn.004e20e0
mov esi, dword [esp + 0x1c]
test esi, esi
mov ecx, dword [edi + 4]
mov dword [esp + 0x30], ecx
je 0x4e154a
cmp esi, edi
je 0x4e154f
call fcn.005d29f1
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x30]
je 0x4e157c
push eax
push esi
lea edx, [esp + 0x44]
push edx
push edi
call fcn.004e1d40
lea esi, [esp + 0x14]
call fcn.00423430
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
jmp 0x4e14f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 4]
jne 0x4e158e
call fcn.005d29f1
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x50], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x60], edx
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x68], ecx
mov cl, byte [ebx + 0x28]
sub eax, 0x10
mov dword [esp + 0x6c], edx
mov byte [esp + 0x74], cl
call fcn.00478bf0
add eax, 0x10
mov dword [esp + 0x78], eax
lea edx, [esp + 0x78]
mov byte [esp + 0x88], 2
or esi, 1
push edx
mov ecx, edi
mov dword [esp + 0x5c], esi
call fcn.004e1bd0
mov esi, eax
lea eax, [esp + 0x50]
call fcn.004e0a40
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e1630
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x14]
call fcn.00423430
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
jmp 0x4e14f0
mov eax, dword [edi + 4]
mov esi, dword [eax]
mov ebx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
test ebx, ebx
mov ecx, dword [edi + 4]
mov dword [esp + 0x30], ecx
je 0x4e1664
cmp ebx, edi
je 0x4e1669
call fcn.005d29f1
cmp esi, dword [esp + 0x30]
je 0x4e16e2
test ebx, ebx
jne 0x4e1678
call fcn.005d29f1
cmp esi, dword [ebx + 4]
jne 0x4e1682
call fcn.005d29f1
mov ecx, dword [esi + 0x38]
lea edx, [esp + 0x14]
push edx
call fcn.00426330
mov byte [esp + 0x88], 3
mov eax, dword [esi + 0x18]
mov ebx, dword [esp + 0x14]
push eax
call fcn.0051fb20
mov byte [esp + 0x88], 1
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 0x4e16cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x1c]
call fcn.00423430
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
jmp 0x4e1655
cmp dword [0x671f10], 0
je 0x4e1730
test byte [0x6809d0], 1
jne 0x4e1724
or dword [0x6809d0], 1
cmp dword [0x678ec4], 0
jne 0x4e1717
cmp dword [0x678ec8], 0
jne 0x4e1717
mov dword [0x678ec4], 0x6790b8
push 0x6131e0
call fcn.005d268a
add esp, 4
mov eax, dword [0x678ec4]
add dword [eax + 0xc34], 1
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e1758
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x44]
mov dword [esp + 0x88], 0xffffffff
call fcn.004e2560
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4