Function at 0x41e884
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c
mov eax, dword fs:[0x30]
push ebx
push ebp
push esi
mov eax, dword [eax + 0xc]
xor esi, esi
add eax, 0xc
mov dword [esp + 0x10], esi
push edi
mov ecx, dword [eax]
cmp ecx, eax
je 0x41e8b3
mov eax, dword [ecx + 0x30]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
jmp 0x41e8b7
mov dword [esp + 0x1c], esi
mov ecx, dword [0x4311b0]
mov eax, dword fs:[0x30]
mov dword [esp + 0x28], ecx
dec esp
and al, 0x28
mov ebx, dword [eax + 0xc]
add ebx, 0xc
mov dword [esp + 0x24], ebx
mov edi, dword [ebx]
jmp 0x41e919
test ecx, ecx
je 0x41e98c
mov eax, dword [edi + 0x30]
mov ebp, esi
mov dword [esp + 0x18], esi
movzx eax, word [eax]
mov edx, eax
test ax, ax
je 0x41e913
mov ebx, dword [edi + 0x30]
push eax
call fcn.0041e846
movzx eax, ax
add ebp, eax
inc esi
pop ecx
movzx eax, word [ebx + esi*2]
test ax, ax
jne 0x41e8f3
mov ebx, dword [esp + 0x24]
xor esi, esi
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
je 0x41e98c
mov edi, dword [edi]
cmp edi, ebx
jne 0x41e8d5
mov edi, esi
mov ebp, dword [0x431190]
test edi, edi
je 0x41e9a8
mov eax, dword [edi + 0x3c]
mov ecx, esi
mov edx, dword [eax + edi + 0x78]
add edx, edi
mov dword [esp + 0x18], edx
mov eax, dword [edx + 0x20]
add eax, edi
cmp dword [edx + 0x18], 0
mov dword [esp + 0x28], eax
jbe 0x41e9a8
mov bh, byte [ebp]
mov eax, dword [eax + ecx*4]
add eax, edi
mov bl, byte [eax]
mov byte [esp + 0x12], bl
cmp bl, bh
jne 0x41e980
mov ebx, ebp
sub eax, ebp
invalid
cmp byte [esp + 0x12], 0
mov edx, dword [esp + 0x18]
je 0x41e991
cmp byte [ebx], 0
je 0x41e991
inc ebx
mov dl, byte [eax + ebx]
cmp dl, byte [ebx]
mov byte [esp + 0x12], dl
mov edx, dword [esp + 0x18]
je 0x41e95d
mov bh, byte [ebp]
inc ecx
cmp ecx, dword [edx + 0x18]
jae 0x41e9a8
mov eax, dword [esp + 0x28]
jmp 0x41e94a
mov edi, dword [edi + 0x18]
jmp 0x41e91f
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov ebp, dword [eax + edi]
add ebp, edi
jmp 0x41e9aa
mov ebp, esi
mov ebx, dword [0x431174]
cmp dword [ebx], esi
je 0x41e9e3
push dword [esp + 0x14]
call fcn.0041e831
pop ecx
cmp al, byte [ebx]
je 0x41e9cb
cmp al, byte [ebx + 1]
jne 0x41eb2a
push dword [esp + 0x14]
call fcn.0041e865
pop ecx
cmp eax, dword [ebx + 4]
je 0x41e9e3
cmp eax, dword [ebx + 8]
jne 0x41eb2a
push 4
push 0x1000
push dword [0x431184]
mov ebx, esi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esp + 0x14], eax
cmp dword [0x43119c], esi
jbe 0x41ea21
invalid
mov ecx, dword [str.VirtualProtect]
mov ecx, dword [ecx + ebx]
mov dword [ebx + eax], ecx
mov ecx, dword [0x431178]
add ebx, ecx
cmp ebx, dword [0x43119c]
jb 0x41ea05
test edi, edi
je 0x41eb2a
mov eax, dword [edi + 0x3c]
mov ecx, esi
mov edx, dword [eax + edi + 0x78]
add edx, edi
mov dword [esp + 0x18], edx
mov ebx, dword [edx + 0x20]
add ebx, edi
cmp dword [edx + 0x18], 0
mov dword [esp + 0x28], ebx
jbe 0x41eaa9
mov eax, dword [esp + 0x14]
mov al, byte [eax]
mov byte [esp + 0x13], al
invalid
mov eax, dword [ebx + ecx*4]
add eax, edi
mov bl, byte [eax]
mov byte [esp + 0x12], bl
cmp bl, byte [esp + 0x13]
jne 0x41ea88
mov ebx, dword [esp + 0x14]
sub eax, ebx
cmp byte [esp + 0x12], 0
mov edx, dword [esp + 0x18]
je 0x41ea94
cmp byte [ebx], 0
je 0x41ea94
inc ebx
mov dl, byte [eax + ebx]
cmp dl, byte [ebx]
mov byte [esp + 0x12], dl
mov edx, dword [esp + 0x18]
je 0x41ea68
inc ecx
cmp ecx, dword [edx + 0x18]
jae 0x41eaa9
mov ebx, dword [esp + 0x28]
jmp 0x41ea51
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edi]
or al, 0x38
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov esi, dword [eax + edi]
add esi, edi
test esi, esi
je 0x41eb2a
mov edi, dword [0x43118c]
lea eax, [esp + 0x20]
push eax
push dword [0x43119c]
push dword [0x431198]
push edi
call esi
mov edx, dword [0x431180]
add edx, dword [esp + 0x1c]
mov ecx, dword [0x4311b4]
mov ebx, dword [edx + 4]
jmp 0x41eaeb
mov eax, dword [edx + ecx]
add eax, ebx
mov dword [edi + ecx], eax
mov eax, dword [0x431178]
add byte [ebx], al
invalid
cmp ecx, dword [0x431198]
jb 0x41eadc
mov ecx, dword [0x4311ac]
mov eax, dword [0x4311a8]
mov dword [edi + eax*4], ecx
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x24]
push dword [0x431198]
push edi
call esi
mov eax, dword [0x43117c]
mov ecx, dword [edi + 0xc]
add ecx, eax
mov eax, dword [0x43117c]
add ecx, edi
add edi, eax
push edi
call ecx
pop ecx
push 1
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret