Function at 0x4c0740
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
mov eax, dword [0x5e687c]
push ebx
push ebp
push esi
mov ebx, dword [eax + 8]
push edi
mov dword [esp + 0x10], ebx
lea ecx, [ebx + 1]
mov dword [eax + 8], ecx
mov edx, dword [0x5e687c]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4c0788
test ebx, ebx
jne 0x4c0788
push str.Enter
push str.addvolume
push 0x140
push str.C:_daily_rwsdk_driver_common_palquant.c
push 4
call fcn.0047bec0
add esp, 0x14
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x4c07ae
push str.origin
push str.addvolume
push 0x141
push str.C:_daily_rwsdk_driver_common_palquant.c
push 1
call fcn.0047bec0
add esp, 0x14
mov edi, dword [esp + 0x34]
test edi, edi
jne 0x4c07d4
push str.region
push str.addvolume
push 0x142
push str.C:_daily_rwsdk_driver_common_palquant.c
push 1
call fcn.0047bec0
add esp, 0x14
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4c084c
mov eax, dword [0x5e687c]
mov edx, dword [eax + 8]
dec edx
mov dword [eax + 8], edx
mov eax, dword [0x5e687c]
cmp dword [eax + 8], ebx
je 0x4c081f
push 0x80000005
call fcn.0047c0a0
push eax
push str.addvolume
push 0x145
push str.C:_daily_rwsdk_driver_common_palquant.c
push 2
call fcn.0047bec0
mov ecx, dword [0x5e687c]
add esp, 0x18
mov dword [ecx + 8], ebx
mov edx, dword [0x5e687c]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4c0bee
test ebx, ebx
jne 0x4c0bee
push str.Exit
push str.addvolume
push 0x145
jmp 0x4c0bdf
mov ebp, dword [esp + 0x30]
mov eax, 1
mov ecx, ebp
xor edx, edx
mov dl, byte [edi + 4]
xor ebx, ebx
shl eax, cl
xor ecx, ecx
mov bl, byte [edi + 5]
mov cl, byte [esi]
mov dword [esp + 0x30], ecx
sub ecx, edx
xor edx, edx
mov dl, byte [esi + 1]
mov dword [esp + 0x14], edx
sub edx, ebx
mov dword [esp + 0x2c], edx
xor edx, edx
mov dl, byte [esi + 2]
xor ebx, ebx
mov bl, byte [edi + 6]
mov dword [esp + 0x18], edx
sub edx, ebx
xor ebx, ebx
mov bl, byte [edi + 7]
mov dword [esp + 0x34], edx
xor edx, edx
mov dl, byte [esi + 3]
mov dword [esp + 0x1c], edx
sub edx, ebx
test ecx, ecx
mov dword [esp + 0x20], edx
jge 0x4c0b78
mov ebx, dword [esp + 0x2c]
test ebx, ebx
jge 0x4c0b78
mov ebx, dword [esp + 0x34]
test ebx, ebx
jge 0x4c0b78
test edx, edx
jge 0x4c0b78
mov ebx, dword [esp + 0x30]
xor edx, edx
mov dl, byte [edi]
sub edx, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x30], edx
xor edx, edx
mov dl, byte [edi + 1]
sub edx, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
xor edx, edx
mov dl, byte [edi + 2]
sub edx, ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
xor edx, edx
mov dl, byte [edi + 3]
sub edx, ebx
mov ebx, dword [esp + 0x30]
cmp ebx, eax
jge 0x4c0b07
cmp dword [esp + 0x14], eax
jge 0x4c0b07
mov ebx, dword [esp + 0x18]
cmp ebx, eax
jge 0x4c0b07
cmp edx, eax
jge 0x4c0b07
neg eax
cmp ecx, eax
jg 0x4c0a25
cmp dword [esp + 0x2c], eax
jg 0x4c0a25
cmp dword [esp + 0x34], eax
jg 0x4c0a25
cmp dword [esp + 0x20], eax
jg 0x4c0a25
mov eax, dword [esp + 0x30]
test eax, eax
jg 0x4c0a25
mov eax, dword [esp + 0x14]
test eax, eax
jg 0x4c0a25
test ebx, ebx
jg 0x4c0a25
test edx, edx
jg 0x4c0a25
test ebp, ebp
jne 0x4c0a25
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
fld dword [ecx]
fadd dword [esi]
add ecx, 4
lea eax, [esi + 4]
push ecx
push eax
push eax
fstp dword [esi]
call fcn.0048ebd0
mov eax, dword [esp + 0x34]
add esp, 0xc
fld dword [eax + 0x14]
fadd dword [esi + 0x14]
fstp dword [esi + 0x14]
mov eax, dword [0x5e687c]
mov esi, dword [esp + 0x10]
mov ecx, dword [eax + 8]
dec ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x5e687c]
cmp dword [ecx + 8], esi
je 0x4c09f9
push 0x80000005
call fcn.0047c0a0
push eax
push str.addvolume
push 0x165
push str.C:_daily_rwsdk_driver_common_palquant.c
push 2
call fcn.0047bec0
mov edx, dword [0x5e687c]
add esp, 0x18
mov dword [edx + 8], esi
mov eax, dword [0x5e687c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4c0bee
test esi, esi
jne 0x4c0bee
push str.Exit
push str.addvolume
push 0x165
jmp 0x4c0bdf
dec ebp
xor ebx, ebx
mov edx, ebx
mov al, byte [esi]
sar edx, 3
and dl, 1
mov ecx, ebp
shl dl, cl
add dl, al
mov eax, ebx
sar eax, 2
and al, 1
mov byte [esp + 0x2c], dl
shl al, cl
mov cl, byte [esi + 1]
mov edx, ebx
sar edx, 1
and dl, 1
add al, cl
mov ecx, ebp
shl dl, cl
mov byte [esp + 0x2d], al
mov al, byte [esi + 2]
add dl, al
mov al, bl
and al, 1
mov byte [esp + 0x2e], dl
shl al, cl
mov cl, byte [esi + 3]
lea edx, [esp + 0x2c]
add al, cl
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x28]
push ecx
push edi
mov ecx, dword [eax + ebx*4]
push ebp
push edx
push ecx
call fcn.004c0740
add esp, 0x14
inc ebx
cmp ebx, 0x10
jl 0x4c0a28
mov eax, dword [0x5e687c]
mov esi, dword [esp + 0x10]
mov ecx, dword [eax + 8]
dec ecx
mov dword [eax + 8], ecx
mov edx, dword [0x5e687c]
cmp dword [edx + 8], esi
je 0x4c0ada
push 0x80000005
call fcn.0047c0a0
push eax
push str.addvolume
push 0x175
push str.C:_daily_rwsdk_driver_common_palquant.c
push 2
call fcn.0047bec0
mov eax, dword [0x5e687c]
add esp, 0x18
mov dword [eax + 8], esi
mov ecx, dword [0x5e687c]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4c0bee
test esi, esi
jne 0x4c0bee
push str.Exit
push str.addvolume
push 0x175
jmp 0x4c0bdf
mov eax, dword [0x5e687c]
mov esi, dword [esp + 0x10]
mov ecx, dword [eax + 8]
dec ecx
mov dword [eax + 8], ecx
mov edx, dword [0x5e687c]
cmp dword [edx + 8], esi
je 0x4c0b4e
push 0x80000005
call fcn.0047c0a0
push eax
push str.addvolume
push 0x158
push str.C:_daily_rwsdk_driver_common_palquant.c
push 2
call fcn.0047bec0
mov eax, dword [0x5e687c]
add esp, 0x18
mov dword [eax + 8], esi
mov ecx, dword [0x5e687c]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4c0bee
test esi, esi
jne 0x4c0bee
push str.Exit
push str.addvolume
push 0x158
jmp 0x4c0bdf
mov eax, dword [0x5e687c]
mov esi, dword [esp + 0x10]
mov ecx, dword [eax + 8]
dec ecx
mov dword [eax + 8], ecx
mov edx, dword [0x5e687c]
cmp dword [edx + 8], esi
je 0x4c0bbf
push 0x80000005
call fcn.0047c0a0
push eax
push str.addvolume
push 0x14f
push str.C:_daily_rwsdk_driver_common_palquant.c
push 2
call fcn.0047bec0
mov eax, dword [0x5e687c]
add esp, 0x18
mov dword [eax + 8], esi
mov ecx, dword [0x5e687c]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4c0bee
test esi, esi
jne 0x4c0bee
push str.Exit
push str.addvolume
push 0x14f
push str.C:_daily_rwsdk_driver_common_palquant.c
push 4
call fcn.0047bec0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret