Function at 0x42dd70
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x559940]
xor eax, esp
mov dword [esp + 0x70], eax
mov dword [esp + 0x20], ecx
xor eax, eax
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp + 8]
push ebx
push esi
mov ebx, edx
mov dword [esp + 0xc], eax
mov esi, dword [ecx + 4]
mov eax, dword [ecx]
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x34], eax
je 0x42de56
cmp byte [ebx + 1], 0x80
movzx ecx, byte [ebx + 1]
jae 0x42ddc3
mov al, 1
jmp 0x42de12
movzx edx, byte [ebx + 2]
test dl, dl
js 0x42ddd7
and ecx, 0x7f
mov al, 2
shl ecx, 7
or ecx, edx
jmp 0x42de12
movzx eax, byte [ebx + 3]
shl ecx, 0xe
or eax, ecx
test al, al
js 0x42ddf7
mov ecx, edx
and eax, 0x1fc07f
and ecx, 0x7f
shl ecx, 7
or ecx, eax
mov al, 3
jmp 0x42de12
lea edx, [esp + 0x38]
lea ecx, [ebx + 1]
call fcn.004096b0
mov ecx, dword [esp + 0x38]
xor edx, edx
cmp edx, dword [esp + 0x3c]
je 0x42de12
or ecx, 0xffffffff
movzx ebx, al
mov eax, dword [esp + 0x18]
inc ebx
mov dword [esp + 0x30], ebx
movzx edx, byte [eax]
mov dword [esp + 0x20], edx
cmp ecx, 0x80
jb 0x42de34
add ecx, 0xfffffff4
shr ecx, 1
jmp 0x42de3b
movzx ecx, byte [ecx + 0x54c9f0]
lea edi, [ecx + edx]
mov dword [esp + 0x28], 1
add esi, 0x28
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], esi
jmp 0x42df15
cmp byte [ebx], 0x80
movzx edx, byte [ebx]
mov dword [esp + 0x20], edx
jae 0x42de66
mov al, 1
jmp 0x42debc
movzx ecx, byte [ebx + 1]
test cl, cl
js 0x42de7a
and edx, 0x7f
mov al, 2
shl edx, 7
or edx, ecx
jmp 0x42deb8
movzx eax, byte [ebx + 2]
shl edx, 0xe
or eax, edx
test al, al
js 0x42de9a
mov edx, ecx
and eax, 0x1fc07f
and edx, 0x7f
shl edx, 7
or edx, eax
mov al, 3
jmp 0x42deb8
lea edx, [esp + 0x38]
mov ecx, ebx
call fcn.004096b0
mov edx, dword [esp + 0x38]
xor ecx, ecx
mov dword [esp + 0x20], edx
cmp ecx, dword [esp + 0x3c]
je 0x42debc
or edx, 0xffffffff
mov dword [esp + 0x20], edx
mov edi, edx
movzx ebx, al
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], edi
cmp edx, dword [esp + 0x2c]
jbe 0x42df09
push 0x54b514
push 0x129ae
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00407d30
mov eax, dword [esp + 0x38]
add esp, 0x14
mov byte [eax + 0xb], 0xb
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x18]
movzx edx, word [esi + 8]
lea ecx, [eax + ebx]
movsd xmm1, qword [0x54f1d8]
test dl, 4
je 0x42e1eb
movzx ebx, byte [ecx]
cmp ebx, 0xa
jae 0x42e328
test ebx, ebx
je 0x42e68b
add eax, edi
mov dword [esp + 0xc], eax
cmp ebx, 7
jne 0x42e02f
lea ecx, [esp + 0x50]
mov edx, ebx
push ecx
mov ecx, eax
call fcn.0042d4e0
movsd xmm0, qword [esp + 0x54]
add esp, 4
movsd xmm2, qword [0x54f228]
comisd xmm2, xmm0
jbe 0x42df83
or eax, 0xffffffff
mov dword [esp + 0x10], eax
mov edx, eax
jmp 0x42e5cd
comisd xmm0, xmm1
jbe 0x42df99
mov eax, 1
mov dword [esp + 0x10], eax
mov edx, eax
jmp 0x42e5cd
call fcn.004f5170
mov ecx, dword [esi]
cmp dword [esi + 4], edx
jg 0x42dfc6
jl 0x42dfab
cmp ecx, eax
jae 0x42dfbb
mov eax, 1
mov dword [esp + 0x10], eax
mov edx, eax
jmp 0x42e5cd
cmp dword [esi + 4], edx
jl 0x42dff1
jg 0x42dfc6
cmp ecx, eax
jbe 0x42dff1
test eax, eax
jne 0x42df75
cmp edx, 0x80000000
jne 0x42df75
movsd xmm0, qword [esp + 0x50]
xorps xmm1, xmm1
comisd xmm0, xmm1
jbe 0x42df75
mov eax, 1
mov dword [esp + 0x10], eax
mov edx, eax
jmp 0x42e5cd
mov edx, dword [esi + 4]
call fcn.004f5280
movaps xmm1, xmm0
movsd xmm0, qword [esp + 0x50]
comisd xmm0, xmm1
jbe 0x42e018
mov eax, 1
mov dword [esp + 0x10], eax
mov edx, eax
jmp 0x42e5cd
xor eax, eax
comisd xmm1, xmm0
setbe al
dec eax
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
jmp 0x42e5cd
cmp ebx, 6
ja case.default.0x42e038
jmp dword [ebx*4 + 0x42e708]
movsx eax, byte [eax]
cdq
mov edi, eax
mov ecx, edx
jmp 0x42e1b4
movsx ecx, byte [eax]
movzx eax, byte [eax + 1]
shl ecx, 8
or eax, ecx
cdq
mov edi, eax
mov ecx, edx
jmp 0x42e1b4
movzx ecx, byte [eax + 1]
movsx eax, byte [eax]
shl eax, 0x10
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + 2]
or eax, ecx
cdq
mov edi, eax
mov ecx, edx
jmp 0x42e1b4
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
mov edx, dword [esp + 0xc]
shl ecx, 8
or ecx, eax
shl ecx, 8
movzx eax, byte [edx + 2]
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or eax, ecx
cdq
mov edi, eax
mov ecx, edx
jmp 0x42e1b4
movzx eax, byte [eax + 2]
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0xc]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 3]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0xc]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 4]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0xc]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 5]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
movsx ecx, byte [eax]
movzx eax, byte [eax + 1]
shl ecx, 8
or eax, ecx
mov ecx, dword [esp + 0x1c]
add edi, 0
cdq
adc ecx, eax
jmp 0x42e1b4
movzx eax, byte [eax]
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0xc]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 1]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0xc]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 2]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0xc]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 3]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0xc]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 4]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0xc]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 5]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0xc]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 6]
cdq
or edi, eax
or ecx, edx
mov eax, dword [esp + 0xc]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 7]
cdq
or edi, eax
or ecx, edx
jmp 0x42e1b4
lea edi, [ebx - 8]
xor ecx, ecx
mov edx, dword [esi + 4]
mov eax, dword [esi]
cmp ecx, edx
jl 0x42e68b
jg 0x42e1dd
cmp edi, eax
jb 0x42e68b
cmp ecx, edx
jl 0x42e5c5
jg 0x42e1dd
cmp edi, eax
jbe 0x42e5c5
mov edx, 1
mov dword [esp + 0x10], edx
jmp 0x42e5c9
test dl, 8
je 0x42e2c4
movzx ebx, byte [ecx]
cmp ebx, 0xa
jae 0x42e328
test ebx, ebx
je 0x42e68b
lea ecx, [esp + 0x50]
mov edx, ebx
push ecx
lea ecx, [eax + edi]
call fcn.0042d4e0
movsd xmm0, qword [esi]
add esp, 4
cmp ebx, 7
jne 0x42e24b
movsd xmm1, qword [esp + 0x50]
comisd xmm0, xmm1
ja 0x42e68b
comisd xmm1, xmm0
jbe 0x42e026
mov edx, 1
mov dword [esp + 0x10], edx
jmp 0x42e5cd
movsd xmm2, qword [0x54f228]
comisd xmm2, xmm0
ja 0x42e328
comisd xmm0, xmm1
ja 0x42e68b
call fcn.004f5170
mov ecx, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0xc], ecx
cmp edx, ecx
jl 0x42e68b
mov ecx, dword [esp + 0x50]
jg 0x42e28c
cmp ecx, eax
jb 0x42e68b
cmp edx, dword [esp + 0xc]
jg 0x42e664
jl 0x42e2a0
cmp ecx, eax
ja 0x42e664
call fcn.004f5280
movsd xmm1, qword [esi]
comisd xmm1, xmm0
ja 0x42e68b
comisd xmm0, xmm1
ja 0x42e328
xor edx, edx
mov dword [esp + 0x10], edx
jmp 0x42e5cd
test dl, 2
je 0x42e45b
cmp byte [ecx], 0x80
movzx ebx, byte [ecx]
jb 0x42e31a
movzx edx, byte [ecx + 1]
test dl, dl
js 0x42e2e7
and ebx, 0x7f
shl ebx, 7
or ebx, edx
jmp 0x42e31a
movzx eax, byte [ecx + 2]
shl ebx, 0xe
or eax, ebx
test al, al
js 0x42e305
mov ebx, edx
and eax, 0x1fc07f
and ebx, 0x7f
shl ebx, 7
or ebx, eax
jmp 0x42e31a
lea edx, [esp + 0x40]
call fcn.004096b0
mov ebx, dword [esp + 0x40]
xor eax, eax
cmp eax, dword [esp + 0x44]
jne 0x42e355
cmp ebx, 0xc
jb 0x42e68b
test bl, 1
jne 0x42e358
mov edx, 1
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov ecx, dword [eax + 0x10]
mov eax, edx
neg eax
cmp byte [esi + ecx], 0
cmove eax, edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
or ebx, 0xffffffff
mov ecx, dword [esp + 0x14]
lea edi, [ebx - 0xc]
shr edi, 1
mov dword [esp + 0x5c], edi
lea eax, [edi + ecx]
cmp eax, dword [esp + 0x2c]
ja 0x42e693
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
cmp dword [eax + edx*4 + 0x14], 0
je 0x42e3ce
mov edi, dword [esp + 0x14]
mov ecx, eax
mov al, byte [ecx + 4]
mov byte [esp + 0x5a], al
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x70], eax
mov eax, 2
mov word [esp + 0x58], ax
mov eax, dword [esp + 0x18]
add eax, edi
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x24]
add eax, 0xb
push eax
push dword [ecx + edx*4 + 0x14]
mov edx, esi
lea ecx, [esp + 0x58]
call fcn.0042d880
mov edx, eax
add esp, 8
mov dword [esp + 0x10], edx
jmp 0x42e5cd
mov eax, dword [esi + 0xc]
mov esi, eax
mov edx, dword [esp + 0xc]
cmp edi, eax
mov dword [esp + 0x1c], eax
cmovl esi, edi
add ecx, dword [esp + 0x18]
mov edx, dword [edx + 0x10]
sub esi, 4
jb 0x42e401
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42e406
add ecx, 4
add edx, 4
sub esi, 4
jae 0x42e3f0
cmp esi, 0xfffffffc
je 0x42e43a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x42e433
cmp esi, 0xfffffffd
je 0x42e43a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x42e433
cmp esi, 0xfffffffe
je 0x42e43a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x42e433
cmp esi, 0xffffffff
je 0x42e43a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x42e43a
sbb edx, edx
or edx, 1
jmp 0x42e43c
xor edx, edx
mov esi, dword [esp + 0xc]
mov dword [esp + 0x10], edx
test edx, edx
jne 0x42e5c9
mov edx, edi
sub edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
jmp 0x42e5c9
mov al, byte [ecx]
movzx ebx, al
test dl, 0x10
je 0x42e5b8
cmp al, 0x80
jb 0x42e4c0
movzx eax, byte [ecx + 1]
mov dword [esp + 0x1c], eax
test al, al
js 0x42e483
and ebx, 0x7f
shl ebx, 7
or ebx, eax
jmp 0x42e4c0
movzx eax, byte [ecx + 2]
shl ebx, 0xe
or eax, ebx
test al, al
js 0x42e4a3
mov ebx, dword [esp + 0x1c]
and eax, 0x1fc07f
and ebx, 0x7f
shl ebx, 7
or ebx, eax
jmp 0x42e4c0
lea edx, [esp + 0x48]
call fcn.004096b0
mov ebx, dword [esp + 0x48]
xor eax, eax
cmp eax, dword [esp + 0x4c]
jne 0x42e5ac
movzx edx, word [esi + 8]
mov ecx, ebx
mov dword [esp + 0x1c], ecx
cmp ebx, 0xc
jb 0x42e5af
test cl, 1
jne 0x42e5af
mov ebx, dword [esp + 0x14]
lea edi, [ecx - 0xc]
shr edi, 1
lea eax, [edi + ebx]
cmp eax, dword [esp + 0x2c]
ja 0x42e6cd
test edx, 0x4000
je 0x42e522
xor eax, eax
mov ebx, ecx
test edi, edi
je 0x42e515
mov edx, dword [esp + 0x14]
add edx, dword [esp + 0x18]
cmp byte [eax + edx], 0
jne 0x42e328
inc eax
cmp eax, edi
jl 0x42e506
mov edx, edi
sub edx, dword [esi]
mov dword [esp + 0x10], edx
jmp 0x42e5c9
mov eax, dword [esi + 0xc]
mov esi, eax
mov edx, dword [esp + 0xc]
cmp edi, eax
mov ecx, dword [esp + 0x18]
cmovl esi, edi
mov dword [esp + 0x38], eax
add ecx, ebx
mov edx, dword [edx + 0x10]
sub esi, 4
jb 0x42e553
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42e558
add ecx, 4
add edx, 4
sub esi, 4
jae 0x42e542
cmp esi, 0xfffffffc
je 0x42e58c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x42e585
cmp esi, 0xfffffffd
je 0x42e58c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x42e585
cmp esi, 0xfffffffe
je 0x42e58c
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x42e585
cmp esi, 0xffffffff
je 0x42e58c
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x42e58c
sbb edx, edx
or edx, 1
jmp 0x42e58e
xor edx, edx
mov eax, dword [esp + 0x1c]
mov ebx, eax
mov esi, dword [esp + 0xc]
mov dword [esp + 0x10], edx
test edx, edx
jne 0x42e5c9
mov edx, edi
sub edx, dword [esp + 0x38]
mov dword [esp + 0x10], edx
jmp 0x42e5c9
or ebx, 0xffffffff
or edx, 0xffffffff
mov dword [esp + 0x10], edx
jmp 0x42e5cd
xor edx, edx
test al, al
setne dl
mov dword [esp + 0x10], edx
jmp 0x42e5cd
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
test edx, edx
jne 0x42e32d
inc dword [esp + 0x28]
add esi, 0x28
mov dword [esp + 0xc], esi
cmp ebx, 0x80
jb 0x42e5ef
lea eax, [ebx - 0xc]
shr eax, 1
jmp 0x42e5f6
movzx eax, byte [ebx + 0x54c9f0]
add edi, eax
shr ebx, 7
xor ecx, ecx
mov dword [esp + 0x14], edi
mov eax, ebx
mov edx, 1
or eax, ecx
je 0x42e61e
nop dword [eax]
shrd ebx, ecx, 7
inc edx
shr ecx, 7
mov eax, ebx
or eax, ecx
jne 0x42e610
mov ebx, dword [esp + 0x30]
add ebx, edx
mov dword [esp + 0x30], ebx
cmp ebx, dword [esp + 0x20]
jae 0x42e646
mov eax, dword [esp + 0x24]
movzx eax, word [eax + 8]
cmp dword [esp + 0x28], eax
jge 0x42e646
cmp edi, dword [esp + 0x2c]
jbe 0x42df11
mov eax, dword [esp + 0x24]
mov byte [eax + 0xe], 1
movsx eax, byte [eax + 0xa]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x42e328
cmp dword [esp + 0xc], 0x80000000
jne 0x42e328
movsd xmm1, qword [esi]
xorps xmm0, xmm0
comisd xmm1, xmm0
jbe 0x42e328
or edx, 0xffffffff
jmp 0x42e32d
push 0x54b514
push 0x129f9
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00407d30
mov eax, dword [esp + 0x38]
add esp, 0x14
mov byte [eax + 0xb], 0xb
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
push 0x54b514
push 0x12a17
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00407d30
mov eax, dword [esp + 0x38]
add esp, 0x14
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
mov byte [eax + 0xb], 0xb
xor ecx, esp
xor eax, eax
call fcn.004f49c2
mov esp, ebp
pop ebp
ret