Function at 0x65251f00
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4f4
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x16]
push esi
push edi
push eax
lea ecx, [esp + 0xc4]
call fcn.65265060
lea ecx, [esp + 0x358]
call fcn.65208220
xor eax, eax
mov ecx, 0x2a
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, 0x2a
lea edi, [esp + 0x358]
rep stosd dword es:[edi], eax
mov ax, word [ebx]
cmp ax, 0x1f5e
jbe 0x65251f78
mov ecx, dword [ebx + 0x16]
push ecx
push eax
call fcn.65272c40
add esp, 8
lea ecx, [esp + 0xc0]
call fcn.65265400
mov ax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ax, 0xf
jb 0x65252058
test byte [ebx + 0x24], 1
je 0x65252058
push 0x104
call fcn.652441c0
mov edi, eax
push 0x104
mov dword [esp + 0x34], edi
call fcn.652441c0
add esp, 8
test edi, edi
mov esi, eax
mov dword [esp + 0x30], esi
je 0x6525202e
test esi, esi
je 0x6525202e
mov edx, dword [ebx + 0x16]
mov ecx, dword [ebx + 6]
push edx
mov edx, dword [ebx + 2]
lea eax, [esp + 0x35c]
push eax
mov eax, dword [ebx + 0x25]
push str..wlg
push ecx
mov ecx, dword [ebx + 0xa]
push edx
push eax
push ecx
push edi
call fcn.65208cf0
add esp, 0x20
test eax, eax
je 0x65251f5f
test byte [ebx + 0x1f], 8
je 0x65252026
mov edx, dword [ebx + 0x16]
mov ecx, dword [ebx + 0x20]
push edx
mov edx, dword [ebx + 2]
lea eax, [esp + 0x35c]
push eax
mov eax, dword [ebx + 0x25]
push str..mwl
push ecx
mov ecx, dword [ebx + 0xa]
push edx
push eax
push ecx
push esi
call fcn.65208d30
add esp, 0x20
test eax, eax
jne 0x6525218e
jmp 0x65251f5f
mov byte [esi], 0
jmp 0x6525218e
mov edx, dword [ebx + 0x16]
push edx
push 0x104
call fcn.652731e0
add esp, 8
lea ecx, [esp + 0xc0]
call fcn.65265400
mov ax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x16]
mov ecx, dword [ebx + 6]
push eax
push ecx
call fcn.65273560
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x2c], edi
jne 0x652520de
mov edx, dword [ebx + 0x16]
push edx
push 0x104
call fcn.652731e0
mov eax, dword [esp + 0x20]
push eax
call fcn.652440f0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.652440f0
mov edx, dword [esp + 0x34]
push edx
call fcn.652440f0
mov eax, dword [esp + 0x3c]
push eax
call fcn.652440f0
push edi
call fcn.652440f0
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.652440f0
mov edx, dword [esp + 0x54]
push edx
call fcn.652440f0
add esp, 0x24
lea ecx, [esp + 0xc0]
call fcn.65265400
mov ax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test byte [ebx + 0x1f], 8
je 0x65252177
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x65252177
cmp byte [edi], 0
je 0x65252177
mov ecx, dword [ebx + 0x16]
push ecx
push eax
call fcn.65273560
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x30], esi
jne 0x6525218e
mov edx, dword [ebx + 0x16]
push edx
push 0x104
call fcn.652731e0
mov eax, dword [esp + 0x20]
push eax
call fcn.652440f0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.652440f0
mov edx, dword [esp + 0x34]
push edx
call fcn.652440f0
mov eax, dword [esp + 0x3c]
push eax
call fcn.652440f0
push edi
call fcn.652440f0
push esi
call fcn.652440f0
mov ecx, dword [esp + 0x54]
push ecx
call fcn.652440f0
add esp, 0x24
lea ecx, [esp + 0xc0]
call fcn.65265400
mov ax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 0x16]
push edx
push 0x6528b61a
call fcn.65273560
mov esi, eax
add esp, 8
mov dword [esp + 0x30], esi
mov eax, dword [ebx + 0x16]
mov ecx, dword [ebx + 0xa]
push eax
push ecx
call fcn.65273560
add esp, 8
test eax, eax
mov dword [esp + 0x28], eax
jne 0x652521c8
mov edx, dword [esp + 0x18]
push edx
call fcn.652440f0
mov eax, dword [esp + 0x20]
push eax
call fcn.652440f0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.652440f0
push 0
jmp 0x65252200
mov eax, dword [ebx + 0x16]
mov ecx, dword [ebx + 2]
push eax
push ecx
call fcn.65273560
add esp, 8
test eax, eax
mov dword [esp + 0x24], eax
jne 0x65252237
mov edx, dword [esp + 0x18]
push edx
call fcn.652440f0
mov eax, dword [esp + 0x20]
push eax
call fcn.652440f0
push 0
call fcn.652440f0
mov ecx, dword [esp + 0x34]
push ecx
call fcn.652440f0
push edi
call fcn.652440f0
push esi
call fcn.652440f0
mov edx, dword [esp + 0x4c]
push edx
call fcn.652440f0
add esp, 0x1c
lea ecx, [esp + 0xc0]
call fcn.65265400
mov ax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x16]
mov ecx, dword [esp + 0x24]
push eax
push 0x15b0
push edi
push ecx
call fcn.652734b0
add esp, 0x10
test eax, eax
jne 0x65251f5f
mov edx, dword [ebx + 0x16]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
push 0x15af
push eax
push ecx
call fcn.652734b0
add esp, 0x10
test eax, eax
jne 0x65251f5f
mov edx, dword [ebx + 0x16]
mov eax, dword [esp + 0x28]
push edx
push 0x15af
push eax
push edi
call fcn.652734b0
add esp, 0x10
test eax, eax
jne 0x65251f5f
test byte [ebx + 0x1f], 8
je 0x652522fc
test esi, esi
je 0x652522fc
cmp byte [esi], 0
je 0x652522fc
mov ecx, dword [ebx + 0x16]
push ecx
push 0x15b0
push edi
push esi
call fcn.652734b0
add esp, 0x10
test eax, eax
jne 0x65251f5f
mov edx, dword [ebx + 0x16]
mov eax, dword [esp + 0x28]
push edx
push 0x15af
push eax
push esi
call fcn.652734b0
add esp, 0x10
test eax, eax
jne 0x65251f5f
mov ecx, dword [ebx + 0x16]
push ecx
push 0x15b1
push edi
push esi
call fcn.652734b0
add esp, 0x10
test eax, eax
jne 0x65251f5f
mov esi, dword [esp + 0x24]
mov edi, ebx
call fcn.65251870
test eax, eax
je 0x65251f5f
mov esi, dword [esp + 0x2c]
call fcn.65251870
test eax, eax
je 0x65251f5f
mov esi, dword [esp + 0x30]
call fcn.65251870
test eax, eax
je 0x65251f5f
mov edx, dword [ebx + 0x25]
mov ecx, dword [ebx + 0x16]
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
call fcn.652087b0
add esp, 0x10
test eax, eax
je 0x65251f5f
mov eax, dword [str.CREATE_WRITEFILE_]
mov edx, dword [0x65299560]
mov ecx, dword [0x6529955c]
mov dword [esp + 0x160], eax
mov eax, dword [0x65299564]
mov dword [esp + 0x168], edx
mov dl, byte [0x6529956a]
mov dword [esp + 0x164], ecx
mov cx, word [0x65299568]
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x172], dl
mov word [esp + 0x170], cx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x652523a7
lea edi, [esp + 0x160]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x652523b8
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x160]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x652523d8
mov eax, dword [str._FOR_DATABASE_]
mov ecx, dword [0x65299548]
mov edx, dword [0x6529954c]
mov dword [edi], eax
mov eax, dword [0x65299550]
mov dword [edi + 4], ecx
mov cl, byte [0x65299554]
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x28]
mov byte [edi + 0x10], cl
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65252410
lea edi, [esp + 0x160]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x65252421
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x160]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x65252441
mov dx, word [0x65291e88]
mov al, byte [0x65291e8a]
mov word [edi], dx
mov byte [edi + 2], al
mov eax, dword [ebx + 0x25]
test eax, eax
je 0x652524d3
lea edi, [esp + 0x160]
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x65252470
mov ecx, dword [str.KEY_]
mov dword [edi], ecx
mov cx, word [0x6529883c]
mov word [edi + 4], cx
mov esi, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65252490
lea edi, [esp + 0x160]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x652524a1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x160]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x652524c0
mov al, byte [0x65291e8a]
mov word [edi], dx
mov byte [edi + 2], al
mov eax, dword [esp + 0x2c]
cmp byte [eax], 0
je 0x652525d4
lea edi, [esp + 0x160]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x652524e8
mov ecx, dword [str.LOG_ON_]
mov dword [edi], ecx
mov ecx, dword [0x6529218c]
mov dword [edi + 4], ecx
mov cl, byte [0x65292190]
mov byte [edi + 8], cl
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65252510
lea edi, [esp + 0x160]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x65252521
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x160]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x65252540
mov al, byte [0x65291e8a]
mov word [edi], dx
mov byte [edi + 2], al
mov eax, dword [esp + 0x30]
cmp byte [eax], 0
je 0x652525d4
lea edi, [esp + 0x160]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x65252568
mov ecx, dword [str.MIRROR_]
mov dword [edi], ecx
mov ecx, dword [0x65292170]
mov dword [edi + 4], ecx
mov cl, byte [0x65292174]
mov byte [edi + 8], cl
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65252590
lea edi, [esp + 0x160]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x652525a1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x160]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x652525c0
mov word [edi], dx
mov dl, byte [0x65291e8a]
mov byte [edi + 2], dl
mov eax, dword [esp + 0x10]
push eax
push 0
push str.dbwrite
lea ecx, [esp + 0x40c]
push ecx
lea ecx, [esp + 0xd0]
call fcn.652650f0
lea edx, [esp + 0x400]
push edx
lea ecx, [esp + 0xc4]
call fcn.65265450
test eax, eax
lea ecx, [esp + 0xc0]
je 0x65251f66
push 1
lea eax, [esp + 0x164]
push eax
call fcn.652654f0
mov esi, eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0x14], esi
call fcn.652652f0
test byte [ebx + 0x1f], 1
jne 0x652526a5
test esi, esi
je 0x65252694
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov edx, dword [ebx + 0x1a]
push ecx
push edi
push 0x151e
push edx
call fcn.652659d0
mov al, byte [ebx + 0x1f]
add esp, 0x10
test al, 4
jne 0x652526a5
mov esi, dword [esp + 0x2c]
cmp byte [esi], 0
jne 0x65252682
push esi
push edi
call fcn.652685f0
push 0x65299540
push esi
call fcn.65268880
add esp, 0x10
mov edi, dword [ebx + 0x1a]
lea esi, [esp + 0x18]
call fcn.65251810
mov esi, dword [esp + 0x14]
jmp 0x652526a5
mov eax, dword [ebx + 0x1a]
push 0x151f
push eax
call fcn.652659d0
add esp, 8
mov ecx, dword [esp + 0x18]
push ecx
call fcn.652440f0
mov edx, dword [esp + 0x20]
push edx
call fcn.652440f0
mov eax, dword [esp + 0x2c]
push eax
call fcn.652440f0
mov ecx, dword [esp + 0x34]
push ecx
call fcn.652440f0
mov edx, dword [esp + 0x3c]
push edx
call fcn.652440f0
mov eax, dword [esp + 0x44]
push eax
call fcn.652440f0
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.652440f0
add esp, 0x1c
test esi, esi
je 0x65252718
test byte [ebx + 0x1f], 4
je 0x65252718
push ebx
call sym.dbtool8.dll__DBChangeWriteFile
lea ecx, [esp + 0xc0]
mov esi, eax
call fcn.65265400
mov ax, si
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0xc0]
call fcn.65265400
pop edi
pop esi
xor ax, ax
pop ebx
mov esp, ebp
pop ebp
ret 4