Function at 0x418b9f
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword fs:[0x30]
mov ecx, dword [eax + 0xc]
add ecx, 0xc
mov ecx, dword [ecx]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x418bb2
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0xc], ecx
mov ecx, dword [0x4c5ed6]
mov edx, dword fs:[0x30]
mov edx, dword [edx + 0xc]
add edx, 0xc
mov edx, dword [edx]
mov edi, dword [edx + 0x30]
test edi, edi
je 0x418bd5
test ecx, ecx
je 0x418c13
movzx ebp, word [edi]
test bp, bp
je 0x418c0d
add edi, 2
xor ebx, ebx
lea esi, [ebp - 0x41]
cmp si, 0x1a
jae 0x418bfb
add ebp, 0x20
movzx esi, bp
add ebx, esi
movzx ebp, word [edi]
add edi, 2
test bp, bp
jne 0x418bef
jmp 0x418c0f
xor ebx, ebx
cmp ebx, ecx
jne 0x418bd5
mov ecx, dword [edx + 0x18]
mov dword [esp], ecx
mov edi, dword [0x4c5ef6]
mov edx, dword [edi]
test edx, edx
je 0x418c70
mov ecx, edx
xor ebx, ebx
cmp word [eax + ebx*2], 0
lea ebx, [ebx + 1]
jne 0x418c29
inc cl
cmp cl, bl
je 0x418c43
inc dh
cmp dh, bl
jne 0x418da1
movzx ebx, word [eax]
xor edx, edx
test bx, bx
je 0x418c62
add eax, 2
xor edx, edx
movzx ecx, bx
add edx, ecx
movzx ebx, word [eax]
add eax, 2
test bx, bx
jne 0x418c52
cmp edx, dword [edi + 4]
je 0x418c70
cmp edx, dword [edi + 8]
jne 0x418da1
xor ebx, ebx
mov dword [esp + 8], ebx
push dword [0x4c5eca]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [0x4c5ee2], ebx
je 0x418ca5
mov ecx, dword [str.VirtualProtect]
mov ecx, dword [ecx + ebx]
mov dword [eax + ebx], ecx
add ebx, dword [0x4c5ede]
cmp ebx, dword [0x4c5ee2]
jb 0x418c8b
cmp dword [esp], 0
je 0x418da1
mov edx, dword [esp]
mov ecx, dword [edx + 0x3c]
mov ecx, dword [edx + ecx + 0x78]
mov dword [esp + 4], ecx
mov ecx, dword [edx + ecx + 0x18]
test ecx, ecx
je 0x418da1
mov esi, ecx
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebp, dword [edx + ecx + 0x20]
add ebp, edx
mov cl, byte [eax]
xor ebx, ebx
mov edi, dword [ebp + ebx*4]
mov edx, dword [esp]
cmp byte [edx + edi], cl
jne 0x418cff
add edi, dword [esp]
xor edx, edx
inc edx
mov ch, cl
test ch, ch
je 0x418d09
mov ch, byte [edi + edx]
cmp ch, byte [eax + edx]
lea edx, [edx + 1]
je 0x418cf0
inc ebx
cmp ebx, esi
jne 0x418cdc
jmp 0x418da1
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov eax, dword [edx + ecx + 0x1c]
add eax, edx
mov ecx, dword [edx + ecx + 0x24]
add ecx, edx
movzx ecx, word [ecx + ebx*2]
add edx, dword [eax + ecx*4]
mov ebx, dword [0x4c5ece]
lea ebp, [esp + 8]
push ebp
push dword [0x4c5ee2]
push dword [0x4c5eee]
push ebx
mov edi, edx
call edx
mov ecx, dword [0x4c5ed2]
mov esi, dword [esp + 0xc]
mov eax, dword [esi + ecx + 4]
mov edx, dword [0x4c5eee]
cmp edx, 9
jb 0x418d75
add esi, ecx
mov ecx, 8
mov edx, dword [esi + ecx]
add edx, eax
mov dword [ebx + ecx], edx
add ecx, dword [0x4c5ede]
cmp ecx, dword [0x4c5eee]
jb 0x418d5f
mov eax, dword [0x4c5ec2]
mov dword [ebx + 8], eax
push ebp
push dword [esp + 0xc]
push dword [0x4c5eee]
push ebx
call edi
mov eax, dword [case.0x418121.13]
add eax, ebx
add eax, dword [ebx + 0xc]
add ebx, dword [case.0x418121.13]
push ebx
call eax
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]