Function at 0x4fe9a0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
je 0x4fed51
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4fed51
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl cx, 8
or cx, dx
mov word [esi], cx
movzx ecx, byte [eax + 2]
movzx edx, byte [eax + 3]
shl cx, 8
or cx, dx
mov word [esi + 2], cx
movzx ecx, byte [eax + 4]
movzx edx, byte [eax + 5]
shl cx, 8
or cx, dx
mov word [esi + 4], cx
movzx ecx, byte [eax + 6]
movzx edx, byte [eax + 7]
shl cx, 8
or cx, dx
mov word [esi + 6], cx
movzx ecx, byte [eax + 8]
movzx edx, byte [eax + 9]
shl cx, 8
or cx, dx
mov word [esi + 8], cx
movzx ecx, byte [eax + 0xa]
movzx edx, byte [eax + 0xb]
shl cx, 8
or cx, dx
mov word [esi + 0xa], cx
movzx ecx, byte [eax + 0xc]
movzx edx, byte [eax + 0xd]
shl cx, 8
or cx, dx
mov word [esi + 0xc], cx
movzx ecx, byte [eax + 0xe]
movzx edx, byte [eax + 0xf]
shl cx, 8
or cx, dx
mov word [esi + 0xe], cx
mov edx, 8
push edi
lea ecx, [edx - 7]
mov eax, edx
and eax, 0xfffffff8
sub eax, 8
lea edi, [ecx + 1]
and edi, 7
add edi, eax
mov di, word [esi + edi*2]
and ecx, 7
add ecx, eax
mov ax, word [esi + ecx*2]
shr di, 7
shl ax, 9
or di, ax
mov word [esi + edx*2], di
inc edx
cmp edx, 0x34
jl 0x4fea55
movzx ecx, word [esi + 0x60]
push ecx
call fcn.004fe920
mov word [esi + 0x68], ax
movzx edx, word [esi + 0x62]
neg dx
mov word [esi + 0x6a], dx
movzx eax, word [esi + 0x64]
neg ax
mov word [esi + 0x6c], ax
movzx ecx, word [esi + 0x66]
push ecx
call fcn.004fe920
mov word [esi + 0x6e], ax
movzx edx, word [esi + 0x5c]
mov word [esi + 0x70], dx
movzx eax, word [esi + 0x5e]
mov word [esi + 0x72], ax
movzx ecx, word [esi + 0x54]
push ecx
call fcn.004fe920
mov word [esi + 0x74], ax
movzx edx, word [esi + 0x58]
neg dx
mov word [esi + 0x76], dx
movzx eax, word [esi + 0x56]
neg ax
mov word [esi + 0x78], ax
movzx ecx, word [esi + 0x5a]
push ecx
call fcn.004fe920
mov word [esi + 0x7a], ax
movzx edx, word [esi + 0x50]
mov word [esi + 0x7c], dx
movzx eax, word [esi + 0x52]
mov word [esi + 0x7e], ax
movzx ecx, word [esi + 0x48]
push ecx
call fcn.004fe920
mov word [esi + 0x80], ax
movzx edx, word [esi + 0x4c]
neg dx
mov word [esi + 0x82], dx
movzx eax, word [esi + 0x4a]
neg ax
mov word [esi + 0x84], ax
movzx ecx, word [esi + 0x4e]
push ecx
call fcn.004fe920
mov word [esi + 0x86], ax
movzx edx, word [esi + 0x44]
mov word [esi + 0x88], dx
movzx eax, word [esi + 0x46]
mov word [esi + 0x8a], ax
movzx ecx, word [esi + 0x3c]
push ecx
call fcn.004fe920
mov word [esi + 0x8c], ax
movzx edx, word [esi + 0x40]
neg dx
mov word [esi + 0x8e], dx
movzx eax, word [esi + 0x3e]
neg ax
mov word [esi + 0x90], ax
movzx ecx, word [esi + 0x42]
push ecx
call fcn.004fe920
mov word [esi + 0x92], ax
movzx edx, word [esi + 0x38]
mov word [esi + 0x94], dx
movzx eax, word [esi + 0x3a]
mov word [esi + 0x96], ax
movzx ecx, word [esi + 0x30]
push ecx
call fcn.004fe920
mov word [esi + 0x98], ax
movzx edx, word [esi + 0x34]
neg dx
mov word [esi + 0x9a], dx
movzx eax, word [esi + 0x32]
neg ax
mov word [esi + 0x9c], ax
movzx ecx, word [esi + 0x36]
push ecx
call fcn.004fe920
mov word [esi + 0x9e], ax
movzx edx, word [esi + 0x2c]
mov word [esi + 0xa0], dx
movzx eax, word [esi + 0x2e]
mov word [esi + 0xa2], ax
movzx ecx, word [esi + 0x24]
push ecx
call fcn.004fe920
mov word [esi + 0xa4], ax
movzx edx, word [esi + 0x28]
neg dx
mov word [esi + 0xa6], dx
movzx eax, word [esi + 0x26]
neg ax
mov word [esi + 0xa8], ax
movzx ecx, word [esi + 0x2a]
push ecx
call fcn.004fe920
mov word [esi + 0xaa], ax
movzx edx, word [esi + 0x20]
mov word [esi + 0xac], dx
movzx eax, word [esi + 0x22]
mov word [esi + 0xae], ax
movzx ecx, word [esi + 0x18]
push ecx
call fcn.004fe920
mov word [esi + 0xb0], ax
movzx edx, word [esi + 0x1c]
neg dx
mov word [esi + 0xb2], dx
movzx eax, word [esi + 0x1a]
neg ax
mov word [esi + 0xb4], ax
movzx ecx, word [esi + 0x1e]
push ecx
call fcn.004fe920
mov word [esi + 0xb6], ax
movzx edx, word [esi + 0x14]
mov word [esi + 0xb8], dx
movzx eax, word [esi + 0x16]
mov word [esi + 0xba], ax
movzx ecx, word [esi + 0xc]
push ecx
call fcn.004fe920
mov word [esi + 0xbc], ax
movzx edx, word [esi + 0x10]
neg dx
mov word [esi + 0xbe], dx
movzx eax, word [esi + 0xe]
neg ax
mov word [esi + 0xc0], ax
movzx ecx, word [esi + 0x12]
push ecx
call fcn.004fe920
mov word [esi + 0xc2], ax
movzx edx, word [esi + 8]
mov word [esi + 0xc4], dx
movzx eax, word [esi + 0xa]
mov word [esi + 0xc6], ax
movzx ecx, word [esi]
add esp, 0x40
push ecx
call fcn.004fe920
mov word [esi + 0xc8], ax
movzx edx, word [esi + 2]
neg dx
mov word [esi + 0xca], dx
movzx eax, word [esi + 4]
neg ax
mov word [esi + 0xcc], ax
movzx ecx, word [esi + 6]
push ecx
call fcn.004fe920
add esp, 8
mov word [esi + 0xce], ax
mov eax, 1
pop edi
pop esi
ret
xor eax, eax
pop esi
ret