Function at 0x41eb20
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c67d9
mov eax, dword fs:[0]
push eax
sub esp, 0x100
push ebx
push esi
push edi
mov eax, dword [0x521da0]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
xor ebx, ebx
mov dword [esp + 0x20], ebx
or eax, 0xffffffff
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x118], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov esi, dword [ebp + 0x1c]
mov byte [esp + 0x118], 1
cmp esi, eax
je 0x41ec54
cmp esi, 0xfffffb2e
je 0x41ec54
mov eax, dword [edi + 0x11c]
sub eax, dword [edi + 0x118]
sar eax, 2
cmp esi, eax
jb 0x41ebfd
call fcn.00496353
mov edx, dword [edi + 0x118]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + esi*4]
mov dword [esp + 0x14], ecx
lea ecx, [eax + 0x1c]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x20], ecx
call fcn.00412930
mov eax, dword [eax]
lea ecx, [esp + 0x14]
inc eax
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
call fcn.00412930
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov eax, dword [edi + 0x11c]
sub eax, dword [edi + 0x118]
sar eax, 2
cmp esi, eax
jb 0x41ec51
call fcn.00496353
or eax, 0xffffffff
mov ecx, dword [ebp + 0x24]
cmp ecx, ebx
je 0x41ec8b
cmp ecx, eax
je 0x41ec8b
mov edx, dword [edi + 0x11c]
sub edx, dword [edi + 0x118]
sar edx, 2
cmp esi, edx
jb 0x41ec7a
call fcn.00496353
mov ecx, dword [ebp + 0x24]
mov eax, dword [edi + 0x118]
mov edx, dword [eax + esi*4]
mov dword [edx + 0xb8], ebx
jmp 0x41ecb9
mov eax, dword [edi + 0x11c]
sub eax, dword [edi + 0x118]
sar eax, 2
cmp esi, eax
jb 0x41eca6
call fcn.00496353
mov ecx, dword [ebp + 0x24]
mov edx, dword [edi + 0x118]
mov eax, dword [edx + esi*4]
mov dword [eax + 0xb8], 1
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x2c], edx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x40], edx
mov edx, dword [ebp + 0x28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
cmp ecx, ebx
je 0x41ecfa
cmp ecx, 1
jne 0x41ed04
mov dword [edi + 0xb64], 1
cmp esi, 0xffffffff
je 0x41eea2
cmp esi, 0xfffffb2e
je 0x41eea2
cmp dword [edi + 0x104], ebx
mov dword [esp + 0x14], ebx
jle 0x41eea2
lea esp, [esp]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x108]
push ecx
lea ecx, [edi + 0xbc]
call fcn.00419600
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xd4]
add eax, 0xbc
mov eax, dword [eax]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0xc0], edx
cmp edi, ebx
je 0x41ed75
cmp edi, eax
je 0x41ed7a
call fcn.00496353
cmp esi, dword [esp + 0xc0]
je 0x41ee7e
cmp edi, ebx
jne 0x41ee21
call fcn.00496353
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x41eda0
call fcn.00496353
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x68], edx
mov edx, dword [esi + 0x28]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x70], edx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x74], edx
mov edx, dword [esi + 0x30]
mov dword [esp + 0x58], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x78], edx
cmp eax, dword [ebp + 0x1c]
je 0x41ee5c
lea ecx, [esp + 0x20]
call fcn.004180c0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xd4]
add eax, 0xbc
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], ecx
cmp byte [eax + 0x41], bl
jne 0x41ee30
jmp 0x41ee10
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0xc]
jge 0x41ee28
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
jmp 0x41ee2b
mov eax, dword [edi]
jmp 0x41ed96
mov eax, dword [eax + 8]
cmp byte [eax + 0x41], bl
je 0x41ee10
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
add eax, 0xbc
mov eax, dword [eax]
cmp edi, ebx
je 0x41ee47
cmp edi, eax
je 0x41ee4c
call fcn.00496353
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x1c]
jne 0x41ed87
jmp 0x41ee7e
cmp ecx, dword [ebp + 0x18]
je 0x41f006
mov ecx, dword [esp + 0x18]
push esi
push edi
lea edx, [esp + 0x100]
push edx
add ecx, 0xbc
call fcn.0041ac70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, dword [ecx + 0x104]
mov dword [esp + 0x14], eax
mov edi, ecx
jl 0x41ed30
mov esi, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x30]
mov dword [esp + 0xd0], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0xd4], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0xcc], edx
mov edx, dword [ebp + 0x20]
mov dword [esp + 0xe0], edx
mov edx, dword [ebp + 0x28]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xc8], esi
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x98], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], edx
mov edx, dword [ebp + 0x28]
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x8c], esi
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ecx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0xfc]
push ecx
lea ecx, [edi + 0xbc]
mov byte [esp + 0x120], 3
call fcn.0041be10
mov eax, dword [esp + 0xb0]
cmp eax, ebx
je 0x41efb1
push eax
call fcn.00497e19
add esp, 4
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x18]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x20]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 0x28]
mov dword [eax + 0x18], edx
mov edx, dword [ebp + 0x24]
mov dword [eax + 0x10], ebx
mov dword [eax], esi
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp edi, ebx
jne 0x41f062
call fcn.00496353
xor edi, edi
cmp esi, dword [edi + 0x18]
jne 0x41f01b
call fcn.00496353
lea edx, [esp + 0x28]
push edx
lea ecx, [esi + 0x10]
call fcn.004176e0
mov esi, dword [ebp + 8]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.00418350
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x41f048
push eax
call fcn.00497e19
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov edi, dword [edi]
jmp 0x41f011