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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov word [esp + 0x7c], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x50], xmm0
test eax, eax
je 0x4a8f5b
lea esi, [eax - 1]
and eax, 3
xor ecx, ecx
cmp esi, 3
jb 0x4a8f12
mov ebx, dword [ebp + 0x10]
and ebx, 0xfffffffc
xor ecx, ecx
nop dword [eax]
movzx esi, word [edx + ecx*2]
add word [esp + esi*2 + 0x40], 1
movzx esi, word [edx + ecx*2 + 2]
add word [esp + esi*2 + 0x40], 1
movzx esi, word [edx + ecx*2 + 4]
add word [esp + esi*2 + 0x40], 1
movzx esi, word [edx + ecx*2 + 6]
add word [esp + esi*2 + 0x40], 1
add ecx, 4
cmp ebx, ecx
jne 0x4a8ee0
test eax, eax
je 0x4a8f31
lea ecx, [edx + ecx*2]
xor esi, esi
nop dword [eax + eax]
movzx edi, word [ecx + esi*2]
add word [esp + edi*2 + 0x40], 1
add esi, 1
cmp eax, esi
jne 0x4a8f20
movzx eax, word [esp + 0x5e]
mov esi, dword [ebp + 0x18]
mov ecx, dword [esi]
mov edi, 0xf
test ax, ax
jne 0x4a9026
cmp word [esp + 0x5c], 0
je 0x4a8f65
mov edi, 0xe
jmp 0x4a9024
mov ecx, dword [esi]
cmp word [esp + 0x5c], 0
jne 0x4a8f51
cmp word [esp + 0x5a], 0
je 0x4a8f77
mov edi, 0xd
jmp 0x4a9024
cmp word [esp + 0x58], 0
je 0x4a8f89
mov edi, 0xc
jmp 0x4a9024
cmp word [esp + 0x56], 0
je 0x4a8f9b
mov edi, 0xb
jmp 0x4a9024
cmp word [esp + 0x54], 0
je 0x4a8faa
mov edi, 0xa
jmp 0x4a9024
cmp word [esp + 0x52], 0
je 0x4a8fb9
mov edi, 9
jmp 0x4a9024
cmp word [esp + 0x50], 0
je 0x4a8fc8
mov edi, 8
jmp 0x4a9024
cmp word [esp + 0x4e], 0
je 0x4a8fd7
mov edi, 7
jmp 0x4a9024
cmp word [esp + 0x4c], 0
je 0x4a8fe6
mov edi, 6
jmp 0x4a9024
cmp word [esp + 0x4a], 0
je 0x4a8ff5
mov edi, 5
jmp 0x4a9024
cmp word [esp + 0x48], 0
je 0x4a9004
mov edi, 4
jmp 0x4a9024
cmp word [esp + 0x46], 0
je 0x4a9013
mov edi, 3
jmp 0x4a9024
cmp word [esp + 0x44], 0
je 0x4a964b
mov edi, 2
xor eax, eax
mov dword [esp + 4], eax
cmp ecx, edi
cmova ecx, edi
mov edx, 1
nop word cs:[eax + eax]
nop
mov bl, 1
cmp word [esp + edx*2 + 0x40], 0
jne 0x4a9053
add edx, 1
cmp edi, edx
jne 0x4a9040
mov edx, edi
cmp ecx, edx
cmovb ecx, edx
movzx esi, word [esp + 0x42]
mov eax, 0xffffffff
cmp esi, 2
ja 0x4a92de
mov dword [esp + 0x10], ecx
movzx eax, word [esp + 0x44]
mov dword [esp + 0x2c], esi
lea ecx, [eax + esi*2]
mov esi, 4
sub esi, ecx
js 0x4a92d9
add esi, esi
movzx ecx, word [esp + 0x46]
sub esi, ecx
js 0x4a92d9
mov dword [esp + 0x28], ecx
add esi, esi
movzx ecx, word [esp + 0x48]
mov dword [esp + 0x24], ecx
sub esi, ecx
js 0x4a92d9
add esi, esi
movzx ecx, word [esp + 0x4a]
sub esi, ecx
js 0x4a92d9
mov dword [esp + 8], ecx
add esi, esi
movzx ecx, word [esp + 0x4c]
mov dword [esp + 0x18], ecx
sub esi, ecx
js 0x4a92d9
add esi, esi
movzx ecx, word [esp + 0x4e]
sub esi, ecx
js 0x4a92d9
mov dword [esp + 0xc], ecx
add esi, esi
movzx ecx, word [esp + 0x50]
mov dword [esp + 0x14], ecx
sub esi, ecx
js 0x4a92d9
add esi, esi
movzx ecx, word [esp + 0x52]
sub esi, ecx
js 0x4a92d9
mov dword [esp + 0x3c], ecx
add esi, esi
movzx ecx, word [esp + 0x54]
mov dword [esp + 0x78], ecx
sub esi, ecx
js 0x4a92d9
add esi, esi
movzx ecx, word [esp + 0x56]
sub esi, ecx
js 0x4a92d9
mov dword [esp + 0x20], ecx
add esi, esi
movzx ecx, word [esp + 0x58]
mov dword [esp + 0x38], ecx
sub esi, ecx
js 0x4a92d9
add esi, esi
movzx ecx, word [esp + 0x5a]
sub esi, ecx
js 0x4a92d9
mov dword [esp + 0x74], ecx
add esi, esi
movzx ecx, word [esp + 0x5c]
mov dword [esp + 0x1c], ecx
sub esi, ecx
js 0x4a92d9
add esi, esi
movzx ecx, word [esp + 4]
sub esi, ecx
js 0x4a92d9
mov ecx, eax
cmp dword [ebp + 8], 0
sete byte [esp + 4]
test esi, esi
mov eax, 0xffffffff
je 0x4a9199
or byte [esp + 4], bl
jne 0x4a92de
mov eax, dword [esp + 0x2c]
add ecx, eax
mov word [esp + 0x7e], 0
mov word [esp + 0x80], ax
mov eax, dword [esp + 0x28]
add eax, ecx
mov word [esp + 0x82], cx
mov ecx, dword [esp + 0x24]
add ecx, eax
mov word [esp + 0x84], ax
mov eax, dword [esp + 8]
add eax, ecx
mov word [esp + 0x86], cx
mov ecx, dword [esp + 0x18]
add ecx, eax
mov word [esp + 0x88], ax
mov eax, dword [esp + 0xc]
add eax, ecx
mov word [esp + 0x8a], cx
mov ecx, dword [esp + 0x14]
add ecx, eax
mov word [esp + 0x8c], ax
mov eax, dword [esp + 0x3c]
add eax, ecx
mov word [esp + 0x8e], cx
mov ecx, dword [esp + 0x78]
add ecx, eax
mov word [esp + 0x90], ax
mov eax, dword [esp + 0x20]
add eax, ecx
mov word [esp + 0x92], cx
mov ecx, dword [esp + 0x38]
add ecx, eax
mov word [esp + 0x94], ax
mov eax, dword [esp + 0x74]
add eax, ecx
mov word [esp + 0x96], cx
mov ecx, dword [esp + 0x1c]
add ecx, eax
mov word [esp + 0x98], ax
mov word [esp + 0x9a], cx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a9299
mov esi, ecx
xor ecx, ecx
cmp esi, 1
jne 0x4a95e2
mov ebx, dword [ebp + 0x10]
test bl, 1
je 0x4a9299
mov eax, dword [ebp + 0xc]
movzx esi, word [eax + ecx*2]
test esi, esi
je 0x4a9299
movzx eax, word [esp + esi*2 + 0x7c]
lea ebx, [eax + 1]
mov word [esp + esi*2 + 0x7c], bx
mov esi, dword [ebp + 0x1c]
mov word [esi + eax*2], cx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4a92e6
cmp eax, 1
jne 0x4a9303
mov eax, 1
cmp dword [esp + 0x10], 9
ja 0x4a92de
mov cl, 1
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], 0x101
mov dword [esp + 0x1c], 0x4d8a36
mov dword [esp + 0x70], 0x4d89f8
mov dword [esp + 0x6c], 0
jmp 0x4a9345
mov eax, 0xffffffff
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x20], 0x14
mov dword [esp + 0x6c], 0
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x1c], ecx
jmp 0x4a933d
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x4d8ab4
mov dword [esp + 0x70], 0x4d8a74
cmp eax, 2
sete cl
mov dword [esp + 0x6c], ecx
jne 0x4a933d
mov eax, 1
mov dword [esp + 0x30], 0
cmp dword [esp + 0x10], 9
ja 0x4a92de
jmp 0x4a9345
mov dword [esp + 0x30], 0
mov esi, 1
mov ebx, dword [esp + 0x10]
mov ecx, ebx
shl esi, cl
mov dword [esp + 0x34], esi
lea ecx, [esi - 1]
mov dword [esp + 0x74], ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x18], 0
mov ecx, ebx
mov ebx, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov esi, 1
shl esi, cl
mov dword [esp + 0x3c], esi
lea eax, [ebx + 2]
mov dword [esp + 0x78], eax
mov dword [esp + 0x14], ebx
mov eax, edx
sub eax, dword [esp + 0xc]
mov dword [esp + 4], eax
mov ecx, dword [ebp + 0x1c]
mov esi, dword [esp + 0x18]
movzx eax, word [ecx + esi*2]
movzx ecx, ax
lea esi, [ecx + 1]
mov ebx, dword [esp + 0x20]
cmp esi, ebx
jae 0x4a93d1
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov ebx, dword [esp + 8]
jmp 0x4a9404
mov esi, ebx
cmp ebx, ecx
mov ebx, dword [esp + 8]
jbe 0x4a93eb
mov al, 0x60
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
jmp 0x4a9404
sub ecx, esi
mov esi, dword [esp + 0x1c]
mov al, byte [esi + ecx*2]
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x70]
movzx eax, word [esi + ecx*2]
mov dword [esp + 0x28], eax
mov eax, 0xffffffff
mov ecx, dword [esp + 4]
shl eax, cl
mov esi, ebx
mov ecx, dword [esp + 0xc]
shr esi, cl
mov dword [esp + 0x2c], eax
lea ecx, [eax + eax]
lea ecx, [ecx + esi*2]
mov esi, dword [esp + 0x78]
lea ecx, [esi + ecx*2]
mov esi, dword [esp + 0x3c]
mov ebx, esi
nop
mov eax, dword [esp + 0x24]
mov byte [ecx + esi*4 - 2], al
mov eax, dword [esp + 4]
mov byte [ecx + esi*4 - 1], al
mov eax, dword [esp + 0x28]
mov word [ecx + esi*4], ax
add ebx, dword [esp + 0x2c]
mov esi, ebx
jne 0x4a9430
mov ecx, edx
add cl, 0xff
mov esi, 1
shl esi, cl
mov ebx, dword [esp + 8]
mov ecx, esi
shr esi, 1
test ecx, ebx
jne 0x4a9460
lea esi, [ecx - 1]
and esi, ebx
add esi, ecx
cmp ecx, 1
mov ecx, 0
cmovb esi, ecx
mov dword [esp + 8], esi
add word [esp + edx*2 + 0x40], 0xffff
mov ebx, dword [esp + 0x14]
je 0x4a9494
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
jmp 0x4a94b7
cmp edx, edi
mov ecx, dword [esp + 0x10]
je 0x4a95af
mov eax, dword [ebp + 0x1c]
mov esi, dword [esp + 0x18]
movzx eax, word [eax + esi*2 + 2]
mov edx, dword [ebp + 0xc]
movzx edx, word [edx + eax*2]
mov ebx, dword [esp + 0x14]
add esi, 1
mov dword [esp + 0x18], esi
cmp edx, ecx
jbe 0x4a939c
mov ecx, dword [esp + 8]
and ecx, dword [esp + 0x74]
cmp ecx, dword [esp + 0x38]
je 0x4a939c
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0xc]
test eax, eax
cmove eax, dword [esp + 0x10]
mov ecx, edx
sub ecx, eax
mov esi, 1
shl esi, cl
cmp edx, edi
mov dword [esp + 0xc], eax
jae 0x4a952d
mov ecx, eax
mov eax, edi
sub eax, ecx
mov dword [esp + 4], eax
mov eax, edx
mov ecx, eax
movzx eax, word [esp + eax*2 + 0x40]
sub esi, eax
jle 0x4a9522
add esi, esi
mov eax, ecx
add eax, 1
cmp eax, edi
jb 0x4a9506
mov ecx, dword [esp + 4]
jmp 0x4a9526
sub ecx, dword [esp + 0xc]
mov esi, 1
shl esi, cl
mov eax, dword [esp + 0x34]
mov dword [esp + 4], ecx
add eax, esi
cmp eax, 0x355
setae cl
test byte [esp + 0x30], cl
jne 0x4a9641
mov esi, eax
mov dword [esp + 0x34], eax
cmp eax, 0x251
setae cl
test byte [esp + 0x6c], cl
mov eax, 1
jne 0x4a92de
mov ecx, dword [esp + 0x3c]
lea ebx, [ebx + ecx*4]
mov dword [esp + 0x14], ebx
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 4]
mov byte [eax + esi*4], cl
mov eax, dword [ebx]
mov ebx, dword [esp + 0x10]
mov ecx, esi
mov byte [eax + esi*4 + 1], bl
mov ebx, dword [esp + 0x14]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov esi, ebx
sub esi, eax
shr esi, 2
mov word [eax + ecx*4 + 2], si
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 4]
jmp 0x4a9386
mov eax, dword [esp + 8]
test eax, eax
je 0x4a95ca
mov byte [ebx + eax*4], 0x40
mov edx, dword [esp + 4]
mov byte [ebx + eax*4 + 1], dl
mov word [ebx + eax*4 + 2], 0
mov edx, dword [esp + 0x34]
shl edx, 2
mov eax, dword [ebp + 0x14]
add dword [eax], edx
mov esi, dword [ebp + 0x18]
mov dword [esi], ecx
xor eax, eax
jmp 0x4a92de
mov ecx, dword [ebp + 0x10]
and ecx, 0xfffffffe
mov dword [esp + 4], ecx
xor ecx, ecx
jmp 0x4a95fd
add ecx, 2
cmp dword [esp + 4], ecx
je 0x4a9272
mov eax, dword [ebp + 0xc]
movzx esi, word [eax + ecx*2]
test esi, esi
je 0x4a961c
movzx eax, word [esp + esi*2 + 0x7c]
lea ebx, [eax + 1]
mov word [esp + esi*2 + 0x7c], bx
mov esi, dword [ebp + 0x1c]
mov word [esi + eax*2], cx
mov eax, dword [ebp + 0xc]
movzx esi, word [eax + ecx*2 + 2]
test esi, esi
je 0x4a95f0
movzx eax, word [esp + esi*2 + 0x7c]
lea ebx, [eax + 1]
mov word [esp + esi*2 + 0x7c], bx
lea esi, [ecx + 1]
mov ebx, dword [ebp + 0x1c]
mov word [ebx + eax*2], si
jmp 0x4a95f0
mov eax, 1
jmp 0x4a92de
cmp word [esp + 0x42], 0
je 0x4a9675
xor eax, eax
test ecx, ecx
setne al
mov edi, 1
xor ebx, ebx
mov ecx, eax
mov dword [esp + 4], 0
mov edx, 1
jmp 0x4a9053
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
lea ecx, [eax + 4]
mov dword [edx], ecx
mov dword [eax], 0x140
mov eax, dword [edx]
lea ecx, [eax + 4]
mov dword [edx], ecx
mov dword [eax], 0x140
mov ecx, 1
jmp 0x4a95d9