Function at 0x438a10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [section..data]
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 + 8], eax
mov esi, dword [ecx + 4]
mov eax, dword [ecx]
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], eax
je 0x438af6
cmp byte [ebx + 1], 0x80
movzx ecx, byte [ebx + 1]
jae 0x438a63
mov al, 1
jmp 0x438ab2
movzx edx, byte [ebx + 2]
test dl, dl
js 0x438a77
and ecx, 0x7f
mov al, 2
shl ecx, 7
or ecx, edx
jmp 0x438ab2
movzx eax, byte [ebx + 3]
shl ecx, 0xe
or eax, ecx
test al, al
js 0x438a97
mov ecx, edx
and eax, 0x1fc07f
and ecx, 0x7f
shl ecx, 7
or ecx, eax
mov al, 3
jmp 0x438ab2
lea edx, [esp + 0x38]
lea ecx, [ebx + 1]
call fcn.004141b0
mov ecx, dword [esp + 0x38]
xor edx, edx
cmp edx, dword [esp + 0x3c]
je 0x438ab2
or ecx, 0xffffffff
movzx ebx, al
mov eax, dword [esp + 0x14]
inc ebx
mov dword [esp + 0x30], ebx
movzx edx, byte [eax]
mov dword [esp + 0x1c], edx
cmp ecx, 0x80
jb 0x438ad4
add ecx, 0xfffffff4
shr ecx, 1
jmp 0x438adb
movzx ecx, byte [ecx + 0x4ceee8]
lea edi, [ecx + edx]
mov dword [esp + 0x24], 1
add esi, 0x28
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], esi
jmp 0x438bb5
cmp byte [ebx], 0x80
movzx edx, byte [ebx]
mov dword [esp + 0x1c], edx
jae 0x438b06
mov al, 1
jmp 0x438b5c
movzx ecx, byte [ebx + 1]
test cl, cl
js 0x438b1a
and edx, 0x7f
mov al, 2
shl edx, 7
or edx, ecx
jmp 0x438b58
movzx eax, byte [ebx + 2]
shl edx, 0xe
or eax, edx
test al, al
js 0x438b3a
mov edx, ecx
and eax, 0x1fc07f
and edx, 0x7f
shl edx, 7
or edx, eax
mov al, 3
jmp 0x438b58
lea edx, [esp + 0x38]
mov ecx, ebx
call fcn.004141b0
mov edx, dword [esp + 0x38]
xor ecx, ecx
mov dword [esp + 0x1c], edx
cmp ecx, dword [esp + 0x3c]
je 0x438b5c
or edx, 0xffffffff
mov dword [esp + 0x1c], edx
mov edi, edx
movzx ebx, al
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], edi
cmp edx, dword [esp + 0x2c]
jbe 0x438ba9
push 0x4d6ad4
push 0x129ae
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00412760
mov eax, dword [esp + 0x34]
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.004ac4d4
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x14]
movzx edx, word [esi + 8]
lea ecx, [eax + ebx]
movsd xmm1, qword [0x4d7140]
test dl, 4
je 0x438eb2
movzx ebx, byte [ecx]
cmp ebx, 0xa
jae 0x439032
test ebx, ebx
je 0x43935a
add edi, eax
cmp ebx, 7
jne 0x438cc6
lea eax, [esp + 0x50]
mov edx, ebx
push eax
mov ecx, edi
call fcn.00438170
movsd xmm0, qword [esp + 0x54]
add esp, 4
movsd xmm2, qword [0x4d7190]
comisd xmm2, xmm0
jbe 0x438c16
or eax, 0xffffffff
jmp 0x438c91
comisd xmm0, xmm1
jbe 0x438c23
mov eax, 1
jmp 0x438c91
call fcn.004c3090
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp edi, edx
jg 0x438c48
jl 0x438c37
cmp ecx, eax
jae 0x438c3e
mov eax, 1
jmp 0x438c91
cmp edi, edx
jl 0x438c6a
jg 0x438c48
cmp ecx, eax
jbe 0x438c6a
test eax, eax
jne 0x438c11
cmp edx, 0x80000000
jne 0x438c11
movsd xmm0, qword [esp + 0x50]
xorps xmm1, xmm1
comisd xmm0, xmm1
jbe 0x438c11
mov eax, 1
jmp 0x438c91
mov edx, edi
call fcn.004c3140
movaps xmm1, xmm0
movsd xmm0, qword [esp + 0x50]
comisd xmm0, xmm1
jbe 0x438c87
mov eax, 1
jmp 0x438c91
xor eax, eax
comisd xmm1, xmm0
setbe al
dec eax
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
test edx, edx
jne 0x439037
inc dword [esp + 0x24]
add esi, 0x28
mov dword [esp + 0x18], esi
cmp ebx, 0x80
jb 0x4392e9
lea eax, [ebx - 0xc]
shr eax, 1
jmp 0x4392f0
cmp ebx, 6
ja case.default.0x438ccf
jmp dword [ebx*4 + 0x4393d8]
movsx eax, byte [edi]
cdq
mov edi, eax
mov ecx, edx
jmp 0x438e7b
movsx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or eax, ecx
cdq
mov edi, eax
mov ecx, edx
jmp 0x438e7b
movzx ecx, byte [edi + 1]
movsx eax, byte [edi]
shl eax, 0x10
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 2]
or eax, ecx
cdq
mov edi, eax
mov ecx, edx
jmp 0x438e7b
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 3]
shl ecx, 8
or eax, ecx
cdq
mov edi, eax
mov ecx, edx
jmp 0x438e7b
movzx eax, byte [edi + 2]
cdq
mov edi, eax
mov ecx, edx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + edx + 3]
cdq
or edi, eax
or ecx, edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [edx + eax + 4]
cdq
or edi, eax
or ecx, edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [edx + eax + 5]
cdq
or ecx, edx
or edi, eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
movsx ecx, byte [edx + eax]
movzx eax, byte [edx + eax + 1]
shl ecx, 8
or eax, ecx
mov ecx, dword [esp + 0x18]
add edi, 0
cdq
adc ecx, eax
jmp 0x438e7b
movzx eax, byte [edi]
cdq
mov edi, eax
mov ecx, edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [edx + eax + 1]
cdq
or edi, eax
or ecx, edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [edx + eax + 2]
cdq
or edi, eax
or ecx, edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [edx + eax + 3]
cdq
or edi, eax
or ecx, edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [edx + eax + 4]
cdq
or edi, eax
or ecx, edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [edx + eax + 5]
cdq
or edi, eax
or ecx, edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [edx + eax + 6]
cdq
or edi, eax
or ecx, edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [edx + eax + 7]
cdq
or edi, eax
or ecx, edx
jmp 0x438e7b
lea edi, [ebx - 8]
xor ecx, ecx
mov edx, dword [esi + 4]
mov eax, dword [esi]
cmp ecx, edx
jl 0x43935a
jg 0x438ea4
cmp edi, eax
jb 0x43935a
cmp ecx, edx
jl 0x438c95
jg 0x438ea4
cmp edi, eax
jbe 0x438c95
mov edx, 1
mov dword [esp + 0xc], edx
jmp 0x438c99
test dl, 8
je 0x438fce
movzx ebx, byte [ecx]
cmp ebx, 0xa
jae 0x439032
test ebx, ebx
je 0x43935a
lea ecx, [esp + 0x50]
mov edx, ebx
push ecx
lea ecx, [eax + edi]
call fcn.00438170
movsd xmm0, qword [esi]
add esp, 4
cmp ebx, 7
jne 0x438f12
movsd xmm1, qword [esp + 0x50]
comisd xmm0, xmm1
ja 0x43935a
comisd xmm1, xmm0
jbe 0x4392e0
mov edx, 1
mov dword [esp + 0xc], edx
jmp 0x438c9d
movsd xmm2, qword [0x4d7190]
comisd xmm2, xmm0
jbe 0x438f2e
mov edx, 1
mov dword [esp + 0xc], edx
jmp 0x438c9d
comisd xmm0, xmm1
jbe 0x438f40
or edx, 0xffffffff
mov dword [esp + 0xc], edx
jmp 0x438c9d
call fcn.004c3090
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x54], edx
jg 0x438f71
jl 0x4392c4
cmp ecx, eax
jae 0x438f65
or edx, 0xffffffff
mov dword [esp + 0xc], edx
jmp 0x438c9d
cmp dword [esp + 0x54], edx
jl 0x438f9a
jg 0x438f71
cmp ecx, eax
jbe 0x438f9a
test eax, eax
jne 0x438f04
cmp edx, 0x80000000
jne 0x438f04
movsd xmm0, qword [esi]
xorps xmm1, xmm1
comisd xmm0, xmm1
jbe 0x438f04
or edx, 0xffffffff
mov dword [esp + 0xc], edx
jmp 0x438c9d
mov edx, dword [esp + 0x54]
call fcn.004c3140
movaps xmm1, xmm0
movsd xmm0, qword [esi]
comisd xmm0, xmm1
jbe 0x438fbc
or edx, 0xffffffff
mov dword [esp + 0xc], edx
jmp 0x438c9d
xor edx, edx
comisd xmm1, xmm0
seta dl
mov dword [esp + 0xc], edx
jmp 0x438c9d
test dl, 2
je 0x439161
cmp byte [ecx], 0x80
movzx ebx, byte [ecx]
jb 0x439024
movzx edx, byte [ecx + 1]
test dl, dl
js 0x438ff1
and ebx, 0x7f
shl ebx, 7
or ebx, edx
jmp 0x439024
movzx eax, byte [ecx + 2]
shl ebx, 0xe
or eax, ebx
test al, al
js 0x43900f
mov ebx, edx
and eax, 0x1fc07f
and ebx, 0x7f
shl ebx, 7
or ebx, eax
jmp 0x439024
lea edx, [esp + 0x40]
call fcn.004141b0
mov ebx, dword [esp + 0x40]
xor eax, eax
cmp eax, dword [esp + 0x44]
jne 0x43905f
cmp ebx, 0xc
jb 0x43935a
test bl, 1
jne 0x439062
mov edx, 1
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x24]
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.004ac4d4
mov esp, ebp
pop ebp
ret
or ebx, 0xffffffff
mov ecx, dword [esp + 0x10]
lea edi, [ebx - 0xc]
shr edi, 1
mov dword [esp + 0x5c], edi
lea eax, [edi + ecx]
cmp eax, dword [esp + 0x2c]
ja 0x439362
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
cmp dword [eax + edx*4 + 0x14], 0
je 0x4390d8
mov edi, dword [esp + 0x10]
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 + 0x14]
add eax, edi
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x20]
add eax, 0xb
push eax
push dword [ecx + edx*4 + 0x14]
mov edx, esi
lea ecx, [esp + 0x58]
call fcn.00438510
mov edx, eax
add esp, 8
mov dword [esp + 0xc], edx
jmp 0x438c9d
mov eax, dword [esi + 0xc]
mov esi, eax
mov edx, dword [esp + 0x18]
cmp edi, eax
mov dword [esp + 0x28], eax
cmovl esi, edi
add ecx, dword [esp + 0x14]
mov edx, dword [edx + 0x10]
sub esi, 4
jb 0x439107
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x43910c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4390f6
cmp esi, 0xfffffffc
je 0x439140
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x439139
cmp esi, 0xfffffffd
je 0x439140
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x439139
cmp esi, 0xfffffffe
je 0x439140
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x439139
cmp esi, 0xffffffff
je 0x439140
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x439140
sbb edx, edx
or edx, 1
jmp 0x439142
xor edx, edx
mov esi, dword [esp + 0x18]
mov dword [esp + 0xc], edx
test edx, edx
jne 0x438c99
mov edx, edi
sub edx, dword [esp + 0x28]
mov dword [esp + 0xc], edx
jmp 0x438c99
mov al, byte [ecx]
movzx ebx, al
test dl, 0x10
je 0x4392d0
cmp al, 0x80
jb 0x4391c6
movzx eax, byte [ecx + 1]
mov dword [esp + 0x28], eax
test al, al
js 0x439189
and ebx, 0x7f
shl ebx, 7
or ebx, eax
jmp 0x4391c6
movzx eax, byte [ecx + 2]
shl ebx, 0xe
or eax, ebx
test al, al
js 0x4391a9
mov ebx, dword [esp + 0x28]
and eax, 0x1fc07f
and ebx, 0x7f
shl ebx, 7
or ebx, eax
jmp 0x4391c6
lea edx, [esp + 0x48]
call fcn.004141b0
mov ebx, dword [esp + 0x48]
xor eax, eax
cmp eax, dword [esp + 0x4c]
jne 0x4392c1
movzx edx, word [esi + 8]
mov ecx, ebx
mov dword [esp + 0x28], ecx
cmp ebx, 0xc
jb 0x4392c4
test cl, 1
jne 0x4392c4
mov ebx, dword [esp + 0x10]
lea edi, [ecx - 0xc]
shr edi, 1
lea eax, [edi + ebx]
cmp eax, dword [esp + 0x2c]
ja 0x43939c
test edx, 0x4000
je 0x43922c
xor eax, eax
mov ebx, ecx
test edi, edi
je 0x43921f
mov edx, dword [esp + 0x10]
add edx, dword [esp + 0x14]
nop dword [eax]
cmp byte [eax + edx], 0
jne 0x439032
inc eax
cmp eax, edi
jl 0x439210
mov edx, edi
sub edx, dword [esi]
mov dword [esp + 0xc], edx
jmp 0x438c99
mov eax, dword [esi + 0xc]
mov esi, eax
mov edx, dword [esp + 0x18]
cmp edi, eax
mov ecx, dword [esp + 0x14]
cmovl esi, edi
mov dword [esp + 0x38], eax
add ecx, ebx
mov edx, dword [edx + 0x10]
sub esi, 4
jb 0x439261
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x439266
add ecx, 4
add edx, 4
sub esi, 4
jae 0x439250
cmp esi, 0xfffffffc
je 0x43929a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x439293
cmp esi, 0xfffffffd
je 0x43929a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x439293
cmp esi, 0xfffffffe
je 0x43929a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x439293
cmp esi, 0xffffffff
je 0x43929a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x43929a
sbb edx, edx
or edx, 1
jmp 0x43929c
xor edx, edx
mov eax, dword [esp + 0x28]
mov ebx, eax
mov esi, dword [esp + 0x18]
mov dword [esp + 0xc], edx
test edx, edx
jne 0x438c99
mov edx, edi
sub edx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
jmp 0x438c99
or ebx, 0xffffffff
or edx, 0xffffffff
mov dword [esp + 0xc], edx
jmp 0x438c9d
xor edx, edx
test al, al
setne dl
mov dword [esp + 0xc], edx
jmp 0x438c9d
mov edx, dword [esp + 0xc]
jmp 0x438c9d
movzx eax, byte [ebx + 0x4ceee8]
add edi, eax
shr ebx, 7
xor ecx, ecx
mov dword [esp + 0x10], edi
mov eax, ebx
mov edx, 1
or eax, ecx
je 0x439314
shrd ebx, ecx, 7
inc edx
shr ecx, 7
mov eax, ebx
or eax, ecx
jne 0x439306
mov ebx, dword [esp + 0x30]
add ebx, edx
mov dword [esp + 0x30], ebx
cmp ebx, dword [esp + 0x1c]
jae 0x43933c
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 8]
cmp dword [esp + 0x24], eax
jge 0x43933c
cmp edi, dword [esp + 0x2c]
jbe 0x438bb1
mov eax, dword [esp + 0x20]
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.004ac4d4
mov esp, ebp
pop ebp
ret
or edx, 0xffffffff
jmp 0x439037
push 0x4d6ad4
push 0x129f9
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00412760
mov eax, dword [esp + 0x34]
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.004ac4d4
mov esp, ebp
pop ebp
ret
push 0x4d6ad4
push 0x12a17
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00412760
mov eax, dword [esp + 0x34]
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.004ac4d4
mov esp, ebp
pop ebp
ret