Function at 0x4a8152f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a89b568
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4a8fdee0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
cmp dword [eax], 0
jg 0x4a815568
lea ebx, [esi + 0x20]
push ebx
mov edi, 1
call fcn.4a815150
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
cmp dword [eax], 0
jg 0x4a8154fa
lea esp, [esp]
test di, di
je 0x4a8154fa
movzx eax, di
lea edi, [eax*8 + 0x4a8a28c0]
mov cl, byte [edi + 4]
cmp cl, 0x7f
jae 0x4a815378
cmp byte [esi + 0x24], 0
jne 0x4a815378
movzx eax, cl
cmp eax, dword [ebx]
je 0x4a8153df
cmp cl, 0xff
je 0x4a8153df
cmp cl, 0xfe
jne 0x4a815388
cmp byte [esi + 0x24], 0
jne 0x4a8153df
cmp cl, 0xfd
jne 0x4a81539f
cmp byte [esi + 0x24], 0
je 0x4a81539f
mov eax, dword [ebx]
cmp eax, 0x50
je 0x4a8153df
cmp eax, 0x70
je 0x4a8153df
cmp cl, 0xfc
jne 0x4a8153a9
cmp dword [ebx], 0xffffffff
je 0x4a8153df
cmp cl, 0x80
jb 0x4a8153da
cmp cl, 0xf0
jae 0x4a8153da
cmp byte [esi + 0x24], 0
jne 0x4a8153da
mov edx, dword [ebx]
cmp edx, 0xffffffff
je 0x4a8153da
movzx eax, cl
imul eax, eax, 0x34
lea ecx, [esi - 0x1748]
add ecx, eax
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x4a8153df
add edi, 8
jmp 0x4a815363
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x4a8153f8
push str.scan
push eax
call dword [0x4a89c0a0]
add esp, 8
push dword [edi]
mov ecx, esi
call fcn.4a8144c0
test al, al
je 0x4a8154fa
cmp byte [edi + 6], 0
je 0x4a815475
inc dword [esi + 0x114]
cmp dword [esi + 0x114], 0x64
jl 0x4a815466
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
cmp dword [eax], 0
jg 0x4a815460
mov dword [eax], 0x10200
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4a815460
mov eax, dword [esi + 0x14]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x18]
mov dword [ecx + 4], eax
mov eax, dword [esi + 4]
xor ecx, ecx
mov eax, dword [eax + 0xc]
mov word [eax + 8], cx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov word [eax + 8], cx
dec dword [esi + 0x114]
movzx ecx, byte [edi + 6]
mov eax, dword [esi + 0x114]
mov word [esi + eax*2 + 0x4c], cx
cmp byte [edi + 7], 0
je 0x4a815483
push ebx
mov ecx, esi
call fcn.4a815150
mov al, byte [edi + 5]
cmp al, 0xff
je 0x4a81548f
movzx edi, al
jmp 0x4a8154eb
mov eax, dword [esi + 0x114]
dec eax
movzx edi, word [esi + eax*2 + 0x4e]
mov dword [esi + 0x114], eax
jns 0x4a8154eb
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
cmp dword [eax], 0
jg 0x4a8154e5
mov dword [eax], 0x10200
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4a8154e5
mov eax, dword [esi + 0x14]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x18]
mov dword [ecx + 4], eax
mov eax, dword [esi + 4]
xor ecx, ecx
mov eax, dword [eax + 0xc]
mov word [eax + 8], cx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov word [eax + 8], cx
inc dword [esi + 0x114]
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
cmp dword [eax], 0
jle 0x4a815350
mov eax, dword [esi + 4]
cmp dword [eax + 0x1c], 0
jne 0x4a815568
push 0xa
mov ecx, esi
call fcn.4a815590
mov ecx, dword [esi + 4]
push 0
mov dword [ecx + 0x1c], eax
mov ecx, esi
call fcn.4a815590
push 3
push 0x4a8a2c4c
push 1
lea ecx, [ebp - 0x30]
mov edi, eax
call sym.icuuc51.dll_k_0UnicodeString_icu_51__QAE_CPB_WH_Z
push 0
push edi
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.4a814de0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call sym.icuuc51.dll_k_1UnicodeString_icu_51__UAE_XZ
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x1c]
mov dword [eax + 8], edi
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x1c]
mov dword [edi + 4], eax
add dword [esi + 0x2a8], 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.4a897a01
mov esp, ebp
pop ebp
ret