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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52aefd
mov eax, dword fs:[0]
push eax
sub esp, 0x7e8
mov eax, dword [0x559024]
xor eax, esp
mov dword [esp + 0x7e0], eax
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, esp
push eax
lea eax, [esp + 0x7f8]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x800], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], vtable.CUseDll.0
mov dword [esp + 0x44], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x800], 1
mov eax, dword [0x559ef0]
mov edx, dword [eax + 0xc]
mov ecx, 0x559ef0
call edx
add eax, 0x10
mov dword [esp + 0x70], eax
mov byte [esp + 0x800], 2
push 0x18
mov byte [esp + 0x70], bl
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x6c], ebx
call fcn.005134b2
add esp, 4
cmp eax, ebx
je 0x4df896
mov dword [eax + 4], ebx
mov dword [eax], vtable.CUseDll.0
mov dword [eax + 8], ebx
mov byte [eax + 0xc], bl
mov dword [eax + 0x10], ebx
mov byte [eax + 0x14], bl
jmp 0x4df898
xor eax, eax
mov dword [esp + 0x68], eax
push 1
lea esi, [esp + 0x40]
mov byte [esp + 0x804], 3
call fcn.004a6460
test al, al
je 0x4dfaa4
mov eax, dword [edi + 0xb318]
cmp eax, ebx
je 0x4dfaa4
push eax
lea esi, [esp + 0x34]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004fcba0
mov byte [esp + 0x800], 4
cmp dword [esp + 0x34], ebx
jg 0x4df951
lea edx, [esp + 0x7c]
call fcn.00401d20
push 0x104
lea eax, [esp + 0x5e0]
push eax
mov byte [esp + 0x808], 5
call fcn.004022b0
test al, al
je 0x4df923
lea ecx, [esp + 0x5dc]
push ecx
mov eax, esi
call fcn.004fcf00
lea esi, [esp + 0x7c]
mov byte [esp + 0x800], 6
call fcn.004371e0
lea edx, [esp + 0xf0]
push edx
call fcn.00437b40
mov eax, esi
push eax
mov byte [esp + 0x804], 4
call fcn.00436b50
mov eax, dword [esp + 0x50]
xor esi, esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], ebx
cmp eax, ebx
jle 0x4dfa46
jmp 0x4df970
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
lea edi, [esp + 0x40]
call fcn.004a6520
lea ecx, [esp + 0x1c]
mov byte [esp + 0x800], 7
call fcn.004fce50
mov byte [esp + 0x800], 4
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x4df9b6
push eax
call fcn.005134a7
add esp, 4
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
cmp dword [esp + 0x20], ebx
jle 0x4dfa33
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x4df9c9
mov eax, 0x538640
mov edi, dword [esp + 0x18]
mov edx, dword [edi + 0xb318]
add edx, 0x20a
push edx
push eax
lea ecx, [esp + 0x70]
call fcn.00401170
test al, al
je 0x4dfa33
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x4df9f5
mov eax, 0x538640
mov ecx, dword [esp + 0x14]
push ecx
push eax
lea esi, [edi + 0x170]
call fcn.00425690
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x4dfa13
mov eax, 0x538640
mov edx, dword [esp + 0x1c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4dfa2b
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
inc dword [esp + 0x14]
mov esi, dword [esp + 0x28]
inc esi
mov dword [esp + 0x28], esi
cmp esi, dword [esp + 0x58]
jl 0x4df970
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
call fcn.004dfb40
mov esi, dword [esp + 0x18]
add esi, 0x170
call fcn.00425770
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x4dfa8b
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004fc190
push ecx
push 0xc
push eax
call fcn.00513b17
push esi
call fcn.005134a7
add esp, 4
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x800], 3
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4dfaa4
push eax
call fcn.005134a7
add esp, 4
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x804], 1
call fcn.004010b0
mov byte [esp + 0x800], 8
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x4dfaeb
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004fc190
push ecx
push 0xc
push eax
call fcn.00513b17
push esi
call fcn.005134a7
add esp, 4
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x804], bl
call fcn.00438f60
mov dword [esp + 0x800], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4dfb18
push eax
call fcn.005134a7
add esp, 4
mov ecx, dword [esp + 0x7f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7e0]
xor ecx, esp
call fcn.00513498
mov esp, ebp
pop ebp
ret