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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8165
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x4da018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 0xc], 0x100
mov ebx, dword [ebp + 8]
jb 0x466c9f
call fcn.00466ce0
push 1
push 0x100
lea ecx, [ebp - 0x2c]
call fcn.0044e760
mov edi, eax
lea edx, [esi + 0x1c]
lea ecx, [edi + 4]
cmp edx, ecx
je 0x466aa5
mov eax, dword [ecx]
mov dword [ecx], 0
mov ecx, dword [edx]
mov dword [edx], eax
test ecx, ecx
je 0x466aa5
push 1
push ecx
call fcn.00489239
add esp, 8
mov eax, dword [edi]
mov dword [esi + 0x18], eax
mov dword [edi], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x466ac2
push 1
push eax
call fcn.00489239
add esp, 8
cmp dword [esi + 0x1c], 0
jne 0x466acc
xor eax, eax
jmp 0x466acf
mov eax, dword [esi + 0x18]
push eax
push ebx
push dword [esi + 0x1c]
call fcn.0048abe0
mov edi, dword [esi + 0x1c]
add esp, 0xc
cmp dword [edi], 0x3150494b
je 0x466b00
push str.KIP_header_corrupt__unrecognised_header_signature_
lea ecx, [ebp - 0x24]
call fcn.00403040
mov dword [ebp - 4], 1
jmp 0x466cb3
lea edx, [edi + 4]
xor ecx, ecx
lea eax, [edx + 2]
cmp byte [eax - 2], 0
je 0x466b4d
cmp byte [eax - 1], 0
je 0x466b4c
cmp byte [eax], 0
je 0x466b47
cmp byte [eax + 1], 0
je 0x466b42
cmp byte [eax + 2], 0
je 0x466b3d
cmp byte [eax + 3], 0
je 0x466b38
add ecx, 6
add eax, 6
cmp ecx, 0xc
jb 0x466b08
jmp 0x466b4d
add ecx, 5
jmp 0x466b4d
add ecx, 4
jmp 0x466b4d
add ecx, 3
jmp 0x466b4d
add ecx, 2
jmp 0x466b4d
inc ecx
push ecx
push edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
call fcn.00403200
lea eax, [ebp - 0x24]
push eax
lea ecx, [esi + 0x20]
call fcn.004069f0
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x466bac
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x466ba2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466cd4
push edx
push ecx
call fcn.00489239
add esp, 8
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 0x90]
mov eax, dword [edi + 0x18]
mov dword [esi + 0x40], eax
movzx eax, byte [edi + 0x1f]
shr al, 3
and al, 1
mov byte [esi + 0x44], al
movzx eax, byte [edi + 0x1f]
shr al, 4
and al, 1
mov byte [esi + 0x45], al
movzx eax, byte [edi + 0x1f]
shr al, 5
and al, 1
mov byte [esi + 0x46], al
movzx eax, byte [edi + 0x1c]
mov byte [esi + 0x47], al
movzx eax, byte [edi + 0x1d]
mov byte [esi + 0x48], al
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x4c], eax
lea eax, [edi + 0x80]
push 0x80
push eax
call fcn.00468870
mov dword [esi + 0x50], 0x100
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x54], ecx
mov eax, dword [edi + 0x20]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x24]
lea edx, [ecx + 0x100]
mov dword [esi + 0x5c], eax
movzx eax, byte [edi + 0x1f]
and al, 1
mov dword [esi + 0x64], edx
mov byte [esi + 0x60], al
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x68], ecx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x70], eax
movzx eax, byte [edi + 0x1f]
shr al, 1
and al, 1
mov byte [esi + 0x74], al
lea eax, [edx + ecx]
mov dword [esi + 0x78], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x7c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x80], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x84], eax
movzx eax, byte [edi + 0x1f]
shr al, 2
and al, 1
mov byte [esi + 0x88], al
mov eax, dword [edi + 0x54]
mov dword [esi + 0x8c], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.KIP_header_size_is_too_small
lea ecx, [ebp - 0x24]
call fcn.00403040
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
push esi
lea ecx, [ebp - 0x88]
call fcn.00433f80
push 0x4d8ce0
lea eax, [ebp - 0x88]
push eax
call fcn.0048ab6b
call fcn.0048dc6b
int3