Function at 0x4364a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push esi
mov esi, dword [esp + 0x38]
cmp dword [esi], 0
jne 0x4365e9
push ebp
mov ebp, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x28]
cmp byte [edi + 1], 0
jne 0x4366b2
movzx eax, word [edi + 0x10]
lea ecx, [ebp + 2]
cmp ecx, eax
jg 0x4366b2
mov edx, dword [edi + 0x44]
push edx
mov ecx, dword [edx + 0x10]
mov eax, dword [ecx + 0x94]
cmp eax, dword [ecx + 0x98]
jbe 0x4364f0
call fcn.0043d8f0
jmp 0x4364f5
call fcn.0043ea90
add esp, 4
test eax, eax
je 0x436505
pop edi
pop ebp
mov dword [esi], eax
pop esi
add esp, 0x18
ret
movzx ecx, word [edi + 0xe]
movzx eax, word [edi + 0x12]
mov edx, dword [edi + 0x38]
mov dword [esp + 0x1c], edx
push ebx
lea eax, [ecx + eax*2]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
lea eax, [ecx + eax*2]
mov dword [esp + 0x24], eax
movzx eax, byte [edi + 6]
add edx, eax
mov dword [esp + 0x1c], edx
movzx ecx, byte [edx + 5]
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x10]
dec ecx
movzx ebx, cx
inc ebx
cmp eax, ebx
jbe 0x43657b
push 0x4f408c
push 0xd48a
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0041e160
add esp, 0x10
mov eax, 0xb
mov dword [esi], eax
pop ebx
pop edi
pop ebp
pop esi
add esp, 0x18
ret
add eax, 2
cmp eax, ebx
ja 0x4365ca
cmp byte [edx + 1], 0
jne 0x43658e
cmp byte [edx + 2], 0
je 0x4365ca
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x18]
push eax
push ebp
push edi
call fcn.0043c720
mov ecx, eax
add esp, 0x10
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4365e4
cmp dword [esp + 0x18], eax
jne 0x4365d7
test ecx, ecx
je 0x4365c6
mov ebx, dword [esp + 0x20]
sub ecx, ebx
jmp 0x436617
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
add eax, 2
add eax, ebp
cmp eax, ebx
jle 0x436604
push edi
call fcn.0042b510
add esp, 4
test eax, eax
je 0x4365ee
mov dword [esi], eax
pop ebx
pop edi
pop ebp
pop esi
add esp, 0x18
ret
mov edx, dword [esp + 0x1c]
movzx ecx, byte [edx + 5]
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
dec ecx
movzx ebx, cx
inc ebx
sub ebx, ebp
mov eax, ebx
mov byte [edx + 6], bl
sar eax, 8
mov ecx, ebx
mov ebx, dword [esp + 0x20]
mov byte [edx + 5], al
inc word [edi + 0x12]
lea esi, [ebx + ecx]
mov eax, 0xfffe
mov dword [esp + 0x1c], ecx
sub eax, ebp
add word [edi + 0x10], ax
push ebp
mov ebp, dword [esp + 0x38]
push ebp
push esi
call fcn.004c15c0
mov eax, dword [esp + 0x4c]
add esp, 0xc
test eax, eax
je 0x43664e
push eax
push esi
call fcn.00469dd0
add esp, 8
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
sub eax, ecx
push eax
lea esi, [ecx + ebx]
lea eax, [esi + 2]
push esi
push eax
call fcn.004c1b40
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov byte [esi + 1], cl
mov eax, ecx
sar eax, 8
mov byte [esi], al
movzx ecx, byte [edi + 6]
movzx eax, byte [edi + 0x13]
mov byte [ecx + ebx + 3], al
movzx ecx, byte [edi + 6]
movzx eax, byte [edi + 0x12]
mov byte [ecx + ebx + 4], al
mov eax, dword [edi + 0x34]
cmp byte [eax + 0x11], 0
je 0x4365e6
push dword [esp + 0x44]
push ebp
push edi
call fcn.00440f70
add esp, 0xc
pop ebx
pop edi
pop ebp
pop esi
add esp, 0x18
ret
mov esi, dword [esp + 0x38]
test esi, esi
je 0x4366ca
push ebp
push dword [esp + 0x34]
push esi
call fcn.004c15c0
add esp, 0xc
jmp 0x4366ce
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4366f0
mov eax, ecx
mov byte [esi + 3], cl
shr eax, 0x18
mov byte [esi], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 1], al
mov eax, ecx
shr eax, 8
mov byte [esi + 2], al
mov al, byte [edi + 1]
movzx ecx, al
inc al
mov byte [edi + 1], al
mov ax, word [esp + 0x2c]
mov dword [edi + ecx*4 + 0x20], esi
mov word [edi + ecx*2 + 0x16], ax
pop edi
pop ebp
pop esi
add esp, 0x18
ret