Function at 0x4835d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7c88
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x52600c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov eax, dword [ebx + 0x10]
xor edx, edx
mov ecx, dword [ebx + 0x1c]
xorps xmm0, xmm0
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x18]
cmp eax, 0xffffffff
movq qword [ebp - 0x48], xmm0
cmovne edx, eax
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x64], esi
cmp ecx, 0xffffffff
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x48], vtable.ILayerBuffer.0
cmovne eax, ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x74]
lea edx, [ebp - 0x48]
mov dword [ebp - 4], 0
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
test eax, eax
je 0x483957
mov eax, dword [ebp - 0x40]
xor esi, esi
mov ecx, dword [ebp - 0x44]
cmp eax, 0x20
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
cmovae esi, ecx
mov dword [ebp - 0x58], vtable.CAkb.0
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x483957
mov eax, dword [esi]
cmp eax, 0x20424b41
je 0x4836c9
cmp eax, 0x2b424b41
jne 0x483957
movzx ecx, word [esi + 6]
movzx eax, word [esi + 4]
mov edx, dword [ebp - 0x60]
add eax, dword [ebp - 0x60]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x68]
add ecx, edx
cmp dword [ebp - 0x60], 0
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
jl 0x4838ed
test edx, edx
js 0x4838ed
test eax, eax
jle 0x4838ed
test ecx, ecx
jle 0x4838ed
test edi, edi
je 0x48379b
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x28]
call eax
cmp dword [ebp - 0x34], eax
jg 0x483732
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x2c]
call eax
cmp dword [ebp - 0x30], eax
jle 0x4837b2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push dword [ebp - 0x64]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push str.LoadPicture_image_range_error_:__s_n
push eax
call fcn.004a9cb0
add esp, 0xc
lea eax, [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push str.__Image_range___Left___4d__Top___4d__Right___4d__Bottom___4d_n
push eax
call fcn.004a9cb0
mov eax, dword [edi]
add esp, 0x18
mov ecx, edi
mov eax, dword [eax + 0x2c]
call eax
push eax
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x28]
call eax
push eax
push 0
push 0
push str.__Layer_range___Left___4d__Top___4d__Right___4d__Bottom___4d_n
jmp 0x483928
push dword [ebp - 0x70]
call fcn.00483470
push dword [ebp - 0x30]
mov edi, eax
push dword [ebp - 0x34]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x5c], edi
call dword [eax + 0x34]
mov eax, dword [ebx + 0x20]
mov byte [ebp - 4], 4
mov ecx, dword [esi]
cmp ecx, 0x20424b41
jne 0x4837e7
mov esi, dword [ebp - 0x68]
lea ecx, [ebp - 0x58]
push eax
lea eax, [ebp - 0x3c]
push eax
push esi
push dword [ebp - 0x60]
push edi
call fcn.0049ea80
jmp 0x48389d
cmp ecx, 0x2b424b41
jne 0x4838a3
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
call fcn.00499b50
lea ecx, [esi + 0x20]
mov dword [ebp - 0x78], ecx
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x64], eax
xor eax, eax
cmp byte [ecx], 0x2e
je 0x483819
inc eax
cmp byte [eax + ecx], 0x2e
jne 0x483812
add esi, 0x20
add eax, esi
push str..akb
push 5
push eax
mov byte [eax], 0
call fcn.004c323a
mov esi, dword [ebp - 0x68]
add esp, 0xc
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x74]
push dword [ebx + 0x20]
push esi
push dword [ebp - 0x60]
push eax
push dword [ebp - 0x70]
push edi
push dword [ebp - 0x78]
call fcn.004835d0
mov ecx, dword [ebp - 0x64]
push dword [ebx + 0x20]
lea eax, [ecx + 0x108]
neg ecx
sbb ecx, ecx
and ecx, eax
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
push ecx
lea ecx, [ebp - 0x58]
call fcn.0049ea80
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x64]
mov esi, dword [edi]
push 0xff00
push edx
push ecx
push eax
mov eax, dword [ebp - 0x18]
sub eax, edx
push eax
mov eax, dword [ebp - 0x1c]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, edi
call dword [esi + 0x9c]
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x4838e0
test eax, eax
je 0x4838d9
movzx ecx, word [esi + 6]
movzx eax, word [esi + 4]
mov edx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x60]
add eax, esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], esi
lea eax, [edx + ecx]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x6c]
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [eax], xmm0
jmp 0x4838e0
movups xmm0, xmmword [ebp - 0x3c]
movups xmmword [ecx], xmm0
mov byte [ebp - 4], 5
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x38]
jmp 0x483959
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push dword [ebp - 0x64]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push str.LoadPicture_image_range_error_:__s_n
push eax
call fcn.004a9cb0
add esp, 0xc
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push str.__Image_range___Left___4d__Top___4d__Right___4d__Bottom___4d_n
lea eax, [ebp - 0x2c]
push eax
call fcn.004a9cb0
add esp, 0x18
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov ecx, 0x565cc0
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
mov eax, dword [0x565cc0]
call dword [eax + 4]
lea ecx, [ebp - 0x2c]
call fcn.00428650
xor edi, edi
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], vtable.ILayerBuffer.0
test ecx, ecx
je 0x483970
push ecx
call fcn.004bd097
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bcfcc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c