Function at 0x4a7620
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 ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0x98], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x80], xmm0
test ecx, ecx
je 0x4a7701
lea esi, [ecx - 1]
mov eax, ecx
and eax, 3
xor ecx, ecx
cmp esi, 3
jb 0x4a76b2
mov ebx, dword [ebp + 0x10]
and ebx, 0xfffffffc
xor ecx, ecx
nop word cs:[eax + eax]
nop
movzx esi, word [edx + ecx*2]
add word [esp + esi*2 + 0x70], 1
movzx esi, word [edx + ecx*2 + 2]
add word [esp + esi*2 + 0x70], 1
movzx esi, word [edx + ecx*2 + 4]
add word [esp + esi*2 + 0x70], 1
movzx esi, word [edx + ecx*2 + 6]
add word [esp + esi*2 + 0x70], 1
add ecx, 4
cmp ebx, ecx
jne 0x4a7680
test eax, eax
je 0x4a76d1
lea ecx, [edx + ecx*2]
xor esi, esi
nop dword [eax + eax]
movzx edi, word [ecx + esi*2]
add word [esp + edi*2 + 0x70], 1
add esi, 1
cmp eax, esi
jne 0x4a76c0
movzx ebx, word [esp + 0x8e]
mov esi, dword [ebp + 0x18]
mov ecx, dword [esi]
mov edi, 0xf
test bx, bx
jne 0x4a77ae
cmp word [esp + 0x8c], 0
je 0x4a770e
mov edi, 0xe
jmp 0x4a77ac
mov ecx, dword [esi]
cmp word [esp + 0x8c], 0
jne 0x4a76f7
cmp word [esp + 0x8a], 0
je 0x4a7723
mov edi, 0xd
jmp 0x4a77ac
cmp word [esp + 0x88], 0
je 0x4a7735
mov edi, 0xc
jmp 0x4a77ac
cmp word [esp + 0x86], 0
je 0x4a7747
mov edi, 0xb
jmp 0x4a77ac
cmp word [esp + 0x84], 0
je 0x4a7759
mov edi, 0xa
jmp 0x4a77ac
cmp word [esp + 0x82], 0
je 0x4a776b
mov edi, 9
jmp 0x4a77ac
cmp word [esp + 0x80], 0
je 0x4a777d
mov edi, 8
jmp 0x4a77ac
cmp word [esp + 0x7e], 0
je 0x4a778c
mov edi, 7
jmp 0x4a77ac
cmp word [esp + 0x7c], 0
je 0x4a779b
mov edi, 6
jmp 0x4a77ac
cmp word [esp + 0x7a], 0
je 0x4a7db4
mov edi, 5
xor ebx, ebx
mov dword [esp + 4], ebx
cmp ecx, edi
cmova ecx, edi
mov ebx, 1
nop dword [eax]
mov al, 1
cmp word [esp + ebx*2 + 0x70], 0
jne 0x4a77d3
add ebx, 1
cmp edi, ebx
jne 0x4a77c0
mov ebx, edi
cmp ecx, ebx
cmovb ecx, ebx
movzx edx, word [esp + 0x72]
mov esi, 0xffffffff
cmp edx, 2
ja 0x4a7a46
mov dword [esp + 0xc], ecx
movzx ecx, word [esp + 0x74]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
lea ecx, [ecx + edx*2]
mov esi, 4
sub esi, ecx
js 0x4a7a41
add esi, esi
movzx edx, word [esp + 0x76]
sub esi, edx
js 0x4a7a41
add esi, esi
movzx ecx, word [esp + 0x78]
sub esi, ecx
js 0x4a7a41
mov dword [esp + 0x24], ecx
add esi, esi
movzx ecx, word [esp + 0x7a]
mov dword [esp + 8], ecx
sub esi, ecx
js 0x4a7a41
add esi, esi
movzx ecx, word [esp + 0x7c]
sub esi, ecx
js 0x4a7a41
mov dword [esp + 0x14], ecx
add esi, esi
movzx ecx, word [esp + 0x7e]
mov dword [esp + 0x10], ecx
sub esi, ecx
js 0x4a7a41
add esi, esi
movzx ecx, word [esp + 0x80]
sub esi, ecx
js 0x4a7a41
mov dword [esp + 0x3c], ecx
add esi, esi
movzx ecx, word [esp + 0x82]
mov dword [esp + 0x4c], ecx
sub esi, ecx
js 0x4a7a41
add esi, esi
movzx ecx, word [esp + 0x84]
sub esi, ecx
js 0x4a7a41
mov dword [esp + 0x20], ecx
add esi, esi
movzx ecx, word [esp + 0x86]
mov dword [esp + 0x38], ecx
sub esi, ecx
js 0x4a7a41
add esi, esi
movzx ecx, word [esp + 0x88]
sub esi, ecx
js 0x4a7a41
mov dword [esp + 0x48], ecx
add esi, esi
movzx ecx, word [esp + 0x8a]
mov dword [esp + 0x1c], ecx
sub esi, ecx
js 0x4a7a41
add esi, esi
movzx ecx, word [esp + 0x8c]
sub esi, ecx
js 0x4a7a41
mov dword [esp + 0x18], ecx
add esi, esi
movzx ecx, word [esp + 4]
sub esi, ecx
js 0x4a7a41
mov dword [esp + 4], edx
cmp dword [ebp + 8], 0
sete cl
test esi, esi
mov esi, 0xffffffff
je 0x4a792c
or cl, al
jne 0x4a7a46
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add ecx, eax
mov word [esp + 0x52], 0
mov word [esp + 0x54], ax
mov eax, dword [esp + 4]
add eax, ecx
mov word [esp + 0x56], cx
mov ecx, dword [esp + 0x24]
add ecx, eax
mov word [esp + 0x58], ax
mov eax, dword [esp + 8]
add eax, ecx
mov word [esp + 0x5a], cx
mov ecx, dword [esp + 0x14]
add ecx, eax
mov word [esp + 0x5c], ax
mov eax, dword [esp + 0x10]
add eax, ecx
mov word [esp + 0x5e], cx
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov word [esp + 0x60], ax
mov eax, dword [esp + 0x4c]
add eax, ecx
mov word [esp + 0x62], cx
mov ecx, dword [esp + 0x20]
add ecx, eax
mov word [esp + 0x64], ax
mov eax, dword [esp + 0x38]
add eax, ecx
mov word [esp + 0x66], cx
mov ecx, dword [esp + 0x48]
add ecx, eax
mov word [esp + 0x68], ax
mov eax, dword [esp + 0x1c]
add eax, ecx
mov word [esp + 0x6a], cx
mov ecx, dword [esp + 0x18]
add ecx, eax
mov word [esp + 0x6c], ax
mov word [esp + 0x6e], cx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a7a01
xor eax, eax
cmp ecx, 1
jne 0x4a7d50
test cl, 1
je 0x4a7a01
mov ecx, dword [ebp + 0xc]
movzx ecx, word [ecx + eax*2]
test ecx, ecx
je 0x4a7a01
movzx edx, word [esp + ecx*2 + 0x50]
lea esi, [edx + 1]
mov word [esp + ecx*2 + 0x50], si
mov ecx, dword [ebp + 0x1c]
mov word [ecx + edx*2], ax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4a7a5e
cmp eax, 1
jne 0x4a7a7b
mov esi, 1
cmp dword [esp + 0xc], 9
ja 0x4a7a46
mov al, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], 0x101
mov dword [esp + 0x1c], 0x659bc6
mov dword [esp + 0x18], 0x659b88
mov dword [esp + 0x40], 0
jmp 0x4a7abd
mov esi, 0xffffffff
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.00517c1a
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x20], 0x14
mov dword [esp + 0x40], 0
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
jmp 0x4a7ab5
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x659c44
mov dword [esp + 0x18], 0x659c04
cmp eax, 2
sete al
mov dword [esp + 0x40], eax
jne 0x4a7ab5
mov esi, 1
mov dword [esp + 0x30], 0
cmp dword [esp + 0xc], 9
ja 0x4a7a46
jmp 0x4a7abd
mov dword [esp + 0x30], 0
mov eax, 1
mov ecx, dword [esp + 0xc]
shl eax, cl
mov dword [esp + 0x44], eax
add eax, 0xffffffff
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov esi, 1
shl esi, cl
mov dword [esp + 0x3c], esi
lea ecx, [eax + 2]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], eax
mov eax, ebx
sub eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x14]
movzx edx, word [eax + ecx*2]
movzx ecx, dx
lea eax, [ecx + 1]
mov esi, dword [esp + 0x20]
cmp eax, esi
jae 0x4a7b3f
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 0
jmp 0x4a7b6e
mov eax, esi
cmp esi, ecx
jbe 0x4a7b55
mov al, 0x60
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
jmp 0x4a7b6e
sub ecx, eax
mov eax, dword [esp + 0x1c]
mov al, byte [eax + ecx*2]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
movzx eax, word [eax + ecx*2]
mov dword [esp + 0x28], eax
mov edx, 0xffffffff
mov ecx, dword [esp + 4]
shl edx, cl
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
shr eax, cl
mov dword [esp + 0x2c], edx
lea ecx, [edx + edx]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x4c]
lea ecx, [ecx + eax*2]
mov esi, dword [esp + 0x3c]
mov eax, esi
nop word [eax + eax]
mov edx, dword [esp + 0x24]
mov byte [ecx + esi*4 - 2], dl
mov edx, dword [esp + 4]
mov byte [ecx + esi*4 - 1], dl
mov edx, dword [esp + 0x28]
mov word [ecx + esi*4], dx
add eax, dword [esp + 0x2c]
mov esi, eax
jne 0x4a7ba0
mov ecx, ebx
add cl, 0xff
mov esi, 1
shl esi, cl
mov ecx, dword [esp + 8]
mov eax, esi
shr esi, 1
test eax, ecx
jne 0x4a7bd0
mov esi, ecx
lea ecx, [eax - 1]
and ecx, esi
add ecx, eax
cmp eax, 1
mov eax, 0
cmovb ecx, eax
mov dword [esp + 8], ecx
add word [esp + ebx*2 + 0x70], 0xffff
je 0x4a7c02
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
jmp 0x4a7c21
cmp ebx, edi
mov ecx, dword [esp + 0xc]
je 0x4a7d19
mov eax, dword [ebp + 0x1c]
mov esi, dword [esp + 0x14]
movzx eax, word [eax + esi*2 + 2]
mov edx, dword [ebp + 0xc]
movzx ebx, word [edx + eax*2]
add esi, 1
mov dword [esp + 0x14], esi
cmp ebx, ecx
jbe 0x4a7b0e
mov ecx, dword [esp + 8]
and ecx, dword [esp + 0x48]
cmp ecx, dword [esp + 0x38]
je 0x4a7b0e
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x10]
test eax, eax
cmove eax, dword [esp + 0xc]
mov ecx, ebx
sub ecx, eax
mov esi, 1
mov dword [esp + 4], ecx
shl esi, cl
cmp ebx, edi
mov dword [esp + 0x10], eax
jae 0x4a7c99
mov ecx, edi
sub ecx, eax
mov dword [esp + 4], ecx
mov edx, ebx
movzx ecx, word [esp + edx*2 + 0x70]
sub esi, ecx
jle 0x4a7c8a
add esi, esi
add edx, 1
cmp edx, edi
jb 0x4a7c72
mov ecx, dword [esp + 4]
jmp 0x4a7c8e
sub edx, eax
mov ecx, edx
mov esi, 1
mov dword [esp + 4], ecx
shl esi, cl
mov eax, dword [esp + 0x44]
add eax, esi
cmp eax, 0x354
seta ch
mov dword [esp + 0x44], eax
cmp eax, 0x250
seta cl
mov esi, 1
test byte [esp + 0x30], ch
jne 0x4a7a46
and cl, byte [esp + 0x40]
mov eax, dword [esp + 0x34]
jne 0x4a7a46
mov ecx, dword [esp + 0x3c]
lea eax, [eax + ecx*4]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 4]
mov byte [ecx + esi*4], dl
mov ecx, dword [eax]
mov eax, dword [esp + 0xc]
mov edx, esi
mov byte [ecx + esi*4 + 1], al
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov esi, eax
sub esi, ecx
shr esi, 2
mov word [ecx + edx*4 + 2], si
mov ecx, dword [esp + 4]
mov dword [esp + 0x38], edx
jmp 0x4a7af8
mov edx, dword [esp + 8]
test edx, edx
je 0x4a7d38
mov eax, dword [esp + 0x34]
mov byte [eax + edx*4], 0x40
mov ebx, dword [esp + 4]
mov byte [eax + edx*4 + 1], bl
mov word [eax + edx*4 + 2], 0
mov edx, dword [esp + 0x44]
shl edx, 2
mov eax, dword [ebp + 0x14]
add dword [eax], edx
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
xor esi, esi
jmp 0x4a7a46
mov eax, ecx
and eax, 0xfffffffe
mov dword [esp + 4], eax
xor eax, eax
jmp 0x4a7d6a
add eax, 2
cmp dword [esp + 4], eax
je 0x4a79dd
mov edx, dword [ebp + 0xc]
movzx esi, word [edx + eax*2]
test esi, esi
je 0x4a7d8c
movzx edx, word [esp + esi*2 + 0x50]
lea ecx, [edx + 1]
mov word [esp + esi*2 + 0x50], cx
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x1c]
mov word [esi + edx*2], ax
mov edx, dword [ebp + 0xc]
movzx esi, word [edx + eax*2 + 2]
test esi, esi
je 0x4a7d5d
movzx edx, word [esp + esi*2 + 0x50]
lea ecx, [edx + 1]
mov word [esp + esi*2 + 0x50], cx
lea ecx, [eax + 1]
mov esi, dword [ebp + 0x1c]
mov word [esi + edx*2], cx
mov ecx, dword [ebp + 0x10]
jmp 0x4a7d5d
mov eax, ecx
cmp word [esp + 0x78], 0
je 0x4a7dc5
mov edi, 4
jmp 0x4a7de1
cmp word [esp + 0x76], 0
je 0x4a7dd4
mov edi, 3
jmp 0x4a7de1
cmp word [esp + 0x74], 0
je 0x4a7dea
mov edi, 2
xor ebx, ebx
mov ecx, eax
jmp 0x4a77ae
cmp word [esp + 0x72], 0
je 0x4a7e12
xor ecx, ecx
test eax, eax
setne cl
mov edi, 1
xor eax, eax
mov dword [esp + 4], 0
mov ebx, 1
jmp 0x4a77d3
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 dword [esi], 1
jmp 0x4a7d49