Function at 0x404de0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov eax, dword [esp + 0x18]
mov ebp, esp
sub esp, 0x158
push ebx
push esi
push edi
mov esi, dword [eax + 0x104]
cmp dword [ebp + 0x14], 0
mov edx, dword [esi]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edx
mov dword [eax], 0
jne 0x404e14
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 0
jne 0x404e27
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov byte [eax], 0
mov esp, ebp
pop ebp
ret
cmp dword [0x430270], 0
je 0x404e7b
lea eax, [ebp - 0x14]
mov ecx, dword [0x430270]
push eax
push ecx
call fcn.00414560
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp dword [0x438608], ecx
jne 0x404e56
inc dword [0x43860c]
jmp 0x404e7b
push 0x438610
mov eax, dword [0x430270]
push eax
call fcn.00414400
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [0x43860c], 1
mov dword [0x438608], eax
mov esi, 0x4384e0
lea edi, [ebp - 0x158]
mov ecx, 0x4a
rep movsd dword es:[edi], dword [esi]
cmp dword [0x430270], 0
je 0x404ec4
dec dword [0x43860c]
jne 0x404ec4
mov eax, 0x438608
test eax, eax
je 0x404eb1
mov dword [0x438608], 0
push 0x438610
mov eax, dword [0x430270]
push eax
call fcn.00414420
add esp, 8
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x104]
mov dword [ebp - 0x54], ecx
mov edx, dword [eax + 0x108]
mov dword [ebp - 0x50], edx
mov cx, word [ebp - 0x150]
mov ax, word [ebp - 0x14e]
mov dx, word [ebp - 0xec]
mov word [ebp - 6], cx
mov cx, word [ebp - 0xea]
mov word [ebp - 4], ax
xor eax, eax
mov word [ebp - 2], dx
mov esi, dword [ebp - 0xc]
mov word [ebp - 0x12], cx
mov edx, dword [ebp + 8]
mov ax, word [edx + 0x12]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + eax*4]
xor eax, eax
mov ebx, dword [ebp + 8]
mov ax, word [edx + 0x14]
mov dword [ebp - 0x28], eax
mov edx, dword [esi + eax*4]
xor eax, eax
mov dword [ebp - 0x18], edx
mov ax, word [ebx + 0x18]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + eax*4]
xor esi, esi
mov si, word [ebx + 0x16]
mov dword [ebp - 0x2c], esi
mov edx, dword [edi + esi*4]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov dx, word [ebx + 0xbe]
cmp esi, 0x54
ja case.0x404f69.51
mov dword [ebp - 0x30], 0
mov bl, byte [esi + 0x4059a8]
mov byte [ebp - 0x30], bl
mov ebx, dword [ebp - 0x30]
jmp dword [ebx*4 + 0x4058d8]
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov byte [eax], 0
mov esp, ebp
pop ebp
ret
lea edi, [eax + esi*2 + 0x18]
xor ecx, ecx
mov cx, word [edi + 0x84]
xor ebx, ebx
mov bx, word [edi + 0x86]
lea esi, [ecx + eax + 0xe8]
sub ebx, ecx
dec ebx
jmp 0x4056dd
lea edi, [eax + esi*2 - 4]
xor ecx, ecx
mov cx, word [edi + 0x84]
xor ebx, ebx
mov bx, word [edi + 0x86]
lea esi, [ecx + eax + 0xe8]
sub ebx, ecx
dec ebx
jmp 0x4056dd
lea ecx, [eax + esi*2 + 0x22]
xor edi, edi
mov di, word [ecx + 0x84]
xor ebx, ebx
mov bx, word [ecx + 0x86]
lea esi, [edi + eax + 0xe8]
sub ebx, edi
dec ebx
jmp 0x4056dd
lea edi, [eax + esi*2 - 0xe]
xor ecx, ecx
mov cx, word [edi + 0x84]
xor ebx, ebx
mov bx, word [edi + 0x86]
lea esi, [ecx + eax + 0xe8]
sub ebx, ecx
dec ebx
jmp 0x4056dd
xor eax, eax
mov edx, dword [ebp - 0xc]
mov ax, word [edx + 0xda]
xor ebx, ebx
mov bx, word [edx + 0xdc]
lea esi, [eax + edx + 0xe8]
sub ebx, eax
mov edx, dword [ebp + 8]
mov dx, word [edx + 0xba]
dec ebx
jmp 0x4056dd
xor eax, eax
mov edx, dword [ebp - 0xc]
mov ax, word [edx + 0xdc]
xor ebx, ebx
mov bx, word [edx + 0xde]
lea esi, [eax + edx + 0xe8]
sub ebx, eax
mov edx, dword [ebp + 8]
mov dx, word [edx + 0xba]
dec ebx
jmp 0x4056dd
xor ecx, ecx
xor ebx, ebx
mov cx, word [eax + 0xde]
mov bx, word [eax + 0xe0]
lea esi, [ecx + eax + 0xe8]
sub ebx, ecx
dec ebx
jmp 0x4056dd
xor ecx, ecx
xor ebx, ebx
mov cx, word [eax + 0xe0]
mov bx, word [eax + 0xe2]
lea esi, [ecx + eax + 0xe8]
sub ebx, ecx
dec ebx
jmp 0x4056dd
xor ecx, ecx
xor ebx, ebx
mov cx, word [eax + 0xe2]
mov bx, word [eax + 0xe4]
lea esi, [ecx + eax + 0xe8]
sub ebx, ecx
dec ebx
jmp 0x4056dd
xor ecx, ecx
xor ebx, ebx
mov cx, word [eax + 0xe4]
mov bx, word [eax + 0xe6]
lea esi, [ecx + eax + 0xe8]
sub ebx, ecx
dec ebx
jmp 0x4056dd
xor eax, eax
mov ebx, 1
mov ax, word [ecx + 0x88]
mov edx, dword [ebp + 8]
mov dx, word [edx + 0xbc]
lea esi, [eax + ecx + 0xac]
jmp 0x4056dd
xor eax, eax
mov ebx, 1
mov ax, word [ecx + 0x8a]
mov edx, dword [ebp + 8]
mov dx, word [edx + 0xbc]
lea esi, [eax + ecx + 0xac]
jmp 0x4056dd
xor eax, eax
xor ebx, ebx
mov ax, word [ecx + 0x8c]
mov bx, word [ecx + 0x8e]
lea esi, [eax + ecx + 0xac]
sub ebx, eax
dec ebx
cmp dword [ebp + 0x14], ebx
ja 0x40515e
mov ebx, dword [ebp + 0x14]
dec ebx
mov edi, dword [ebp + 0x10]
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4057a8
xor eax, eax
mov ebx, 1
mov ax, word [ecx + 0x92]
mov edx, dword [ebp + 8]
mov dx, word [edx + 0xbc]
lea esi, [eax + ecx + 0xac]
jmp 0x4056dd
xor eax, eax
mov ebx, 1
mov ax, word [ecx + 0x94]
mov edx, dword [ebp + 8]
mov dx, word [edx + 0xbc]
lea esi, [eax + ecx + 0xac]
jmp 0x4056dd
xor eax, eax
xor ebx, ebx
mov ax, word [ecx + 0x96]
mov bx, word [ecx + 0x98]
lea esi, [eax + ecx + 0xac]
sub ebx, eax
dec ebx
cmp dword [ebp + 0x14], ebx
ja 0x4051e1
mov ebx, dword [ebp + 0x14]
dec ebx
mov edi, dword [ebp + 0x10]
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4057a8
xor eax, eax
mov ebx, 1
mov ax, word [ecx + 0x98]
mov edx, dword [ebp + 8]
mov dx, word [edx + 0xbc]
lea esi, [eax + ecx + 0xac]
jmp 0x4056dd
xor eax, eax
xor ebx, ebx
mov ax, word [ecx + 0x9a]
mov edx, dword [ebp + 8]
mov bx, word [ecx + 0x9c]
lea esi, [eax + ecx + 0xac]
mov dx, word [edx + 0xbc]
sub ebx, eax
dec ebx
jmp 0x4056dd
xor eax, eax
xor ebx, ebx
mov ax, word [ecx + 0x9c]
mov edx, dword [ebp + 8]
mov bx, word [ecx + 0x9e]
lea esi, [eax + ecx + 0xac]
mov dx, word [edx + 0xbc]
sub ebx, eax
dec ebx
jmp 0x4056dd
xor eax, eax
mov edx, dword [ebp - 0x18]
mov ax, word [edx + 0x8e]
xor ebx, ebx
mov bx, word [edx + 0x90]
lea esi, [edx + eax + 0xac]
sub ebx, eax
dec ebx
cmp ebx, 3
ja 0x40529a
mov ebx, 3
mov edx, dword [ebp + 8]
mov dx, word [edx + 0xc0]
jmp 0x4056dd
xor eax, eax
xor ebx, ebx
mov ax, word [ecx + 0x90]
mov edx, dword [ebp + 8]
mov bx, word [ecx + 0x92]
lea esi, [eax + ecx + 0xac]
mov dx, word [edx + 0xbc]
sub ebx, eax
dec ebx
jmp 0x4056dd
xor eax, eax
mov edx, dword [ebp - 0x18]
mov ax, word [edx + 0x9e]
xor ebx, ebx
mov bx, word [edx + 0xa0]
lea esi, [edx + eax + 0xac]
sub ebx, eax
mov edx, dword [ebp + 8]
mov dx, word [edx + 0xc0]
dec ebx
jmp 0x4056dd
xor eax, eax
xor ebx, ebx
mov ax, word [ecx + 0xa2]
mov edx, dword [ebp + 8]
mov bx, word [ecx + 0xa4]
lea esi, [eax + ecx + 0xac]
mov dx, word [edx + 0xbc]
sub ebx, eax
dec ebx
jmp 0x4056dd
xor eax, eax
xor ebx, ebx
mov ax, word [ecx + 0xa4]
mov edx, dword [ebp + 8]
mov bx, word [ecx + 0xa6]
lea esi, [eax + ecx + 0xac]
mov dx, word [edx + 0xbc]
sub ebx, eax
dec ebx
jmp 0x4056dd
xor eax, eax
xor ebx, ebx
mov ax, word [ecx + 0xa6]
mov edx, dword [ebp + 8]
mov bx, word [ecx + 0xa8]
lea esi, [eax + ecx + 0xac]
mov dx, word [edx + 0xbc]
sub ebx, eax
dec ebx
jmp 0x4056dd
xor eax, eax
xor ebx, ebx
mov ax, word [ecx + 0xa8]
mov edx, dword [ebp + 8]
mov bx, word [ecx + 0xaa]
lea esi, [eax + ecx + 0xac]
mov dx, word [edx + 0xbc]
sub ebx, eax
dec ebx
jmp 0x4056dd
mov edx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x10]
lea eax, [edx + edx*8]
lea ecx, [edx + eax*2]
lea esi, [ebx + ecx*2 + 0x33]
lea eax, [ebx + ecx*2 + 0x2c]
xor ebx, ebx
mov bl, byte [eax + 6]
jmp 0x4056d2
xor eax, eax
mov edx, dword [ebp - 0xc]
mov ax, word [edx + 0x8c]
xor ebx, ebx
mov bx, word [edx + 0x8e]
lea esi, [eax + edx + 0xe8]
sub ebx, eax
mov edx, dword [ebp + 8]
mov dx, word [edx + 0xba]
dec ebx
jmp 0x4056dd
xor ecx, ecx
mov edx, dword [ebp + 8]
mov cx, word [edx + 0xb4]
mov ebx, dword [ebp - 0x10]
lea edx, [ecx + ecx*8]
lea ecx, [ecx + edx*2]
lea esi, [ebx + ecx*2 + 0x33]
lea eax, [ebx + ecx*2 + 0x2c]
xor ebx, ebx
mov bl, byte [eax + 6]
jmp 0x4056d2
xor ecx, ecx
mov edx, dword [ebp + 8]
mov cx, word [edx + 0xb6]
mov ebx, dword [ebp - 0x10]
lea edx, [ecx + ecx*8]
lea ecx, [ecx + edx*2]
lea esi, [ebx + ecx*2 + 0x33]
lea eax, [ebx + ecx*2 + 0x2c]
xor ebx, ebx
mov bl, byte [eax + 6]
jmp 0x4056d2
xor eax, eax
xor ebx, ebx
mov ax, word [ecx + 0x86]
mov edx, dword [ebp + 8]
mov bx, word [ecx + 0x88]
lea esi, [eax + ecx + 0xac]
mov dx, word [edx + 0xbc]
sub ebx, eax
dec ebx
jmp 0x4056dd
mov esi, dword [ebp + 8]
mov ebx, 1
add esi, 0x34
mov edx, dword [ebp + 8]
mov dx, word [edx + 0x22]
jmp 0x4056dd
mov esi, dword [ebp + 8]
mov ebx, 1
add esi, 0x35
mov edx, dword [ebp + 8]
mov dx, word [edx + 0x22]
jmp 0x4056dd
mov esi, dword [ebp + 8]
mov ebx, 1
add esi, 0x36
mov edx, dword [ebp + 8]
mov dx, word [edx + 0x28]
jmp 0x4056dd
mov esi, dword [ebp + 8]
mov ebx, 1
add esi, 0x35
mov edx, dword [ebp + 8]
mov dx, word [edx + 0x28]
jmp 0x4056dd
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 8]
add esi, 0x39
mov ebx, dword [edx + 0x44]
mov dx, word [edx + 0x24]
jmp 0x4056dd
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x10]
lea eax, [edx + edx*8]
lea ecx, [edx + eax*2]
lea esi, [ebx + ecx*2 + 0x33]
lea eax, [ebx + ecx*2 + 0x2c]
xor ebx, ebx
mov bl, byte [eax + 6]
jmp 0x4056d2
mov esi, dword [ebp + 8]
mov ebx, 2
add esi, 0x34
mov edx, dword [ebp + 8]
mov dx, word [edx + 0x22]
jmp 0x4056dd
mov esi, dword [ebp + 8]
mov ebx, 2
add esi, 0x36
mov edx, dword [ebp + 8]
mov dx, word [edx + 0x28]
jmp 0x4056dd
mov esi, dword [ebp + 8]
mov ebx, 1
add esi, 0x38
mov edx, dword [ebp + 8]
mov dx, word [edx + 0x2a]
jmp 0x4056dd
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 8]
add esi, 0x48
mov ebx, dword [edx + 0x54]
mov dx, word [edx + 0x2c]
jmp 0x4056dd
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 8]
add esi, 0x58
mov ebx, dword [edx + 0x64]
mov dx, word [edx + 0x2e]
jmp 0x4056dd
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 8]
add esi, 0x68
mov ebx, dword [edx + 0x88]
mov dx, word [edx + 0x26]
jmp 0x4056dd
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x10]
lea eax, [edx + edx*8]
lea ecx, [edx + eax*2]
lea esi, [ebx + ecx*2 + 0x33]
lea eax, [ebx + ecx*2 + 0x2c]
xor ebx, ebx
mov bl, byte [eax + 6]
jmp 0x4056d2
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
lea ecx, [eax + eax*8]
lea ebx, [eax + ecx*2]
lea esi, [edx + ebx*2 + 0x33]
lea eax, [edx + ebx*2 + 0x2c]
xor ebx, ebx
mov bl, byte [eax + 6]
jmp 0x4056d2
xor ecx, ecx
mov edx, dword [ebp + 8]
mov cx, word [edx + 0x10]
mov ebx, dword [ebp - 0x10]
lea edx, [ecx + ecx*8]
lea ecx, [ecx + edx*2]
lea esi, [ebx + ecx*2 + 0x33]
lea eax, [ebx + ecx*2 + 0x2c]
xor ebx, ebx
mov bl, byte [eax + 6]
jmp 0x4056d2
mov edx, dword [ebp + 8]
mov ax, word [edx + 0x1a]
test ax, ax
je 0x405615
movzx eax, ax
mov ecx, dword [ebp - 0x10]
xor ebx, ebx
lea edx, [eax + eax*8]
lea eax, [eax + edx*2]
lea esi, [ecx + eax*2 + 0x33]
mov bl, byte [ecx + eax*2 + 0x32]
lea eax, [ecx + eax*2 + 0x2c]
dec ebx
jmp 0x4056d3
mov esi, str.BINARY
mov ebx, 6
jmp 0x4056d3
mov edx, dword [ebp + 8]
mov ax, word [edx + 0x1c]
test ax, ax
jne 0x40563f
mov esi, str.GREGORIAN
mov ebx, 9
jmp 0x4056d3
movzx eax, ax
mov ecx, dword [eax*4 + 0x430880]
sub eax, eax
mov esi, dword [ecx]
mov ecx, 0xffffffff
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
lea ebx, [ecx - 1]
jmp 0x4056d3
mov esi, dword [ebp + 8]
mov ecx, 0xffffffff
add esi, 0xd2
sub eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
lea ebx, [ecx - 1]
jmp 0x4056d3
mov edx, dword [ebp + 8]
test byte [edx + 0x30], 1
je 0x405688
mov eax, dword [0x43020c]
jmp 0x40568d
mov eax, dword [0x430210]
lea esi, [ebp - 0x1c]
mov ecx, 0xffffffff
mov edi, esi
mov dword [ebp - 0x1c], eax
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
lea ebx, [ecx - 1]
jmp 0x4056d3
xor ecx, ecx
mov edx, dword [ebp + 8]
mov cx, word [edx + 0xd0]
mov ebx, dword [ebp - 0x10]
lea edx, [ecx + ecx*8]
lea ecx, [ecx + edx*2]
lea esi, [ebx + ecx*2 + 0x33]
lea eax, [ebx + ecx*2 + 0x2c]
mov ebx, 0
mov al, byte [eax + 6]
test al, al
je 0x4056d3
xor ebx, ebx
mov bl, al
dec ebx
mov edx, dword [ebp + 8]
mov dx, word [edx + 0xc4]
movzx ecx, dx
lea eax, [ebp - 0x158]
push eax
push 2
push ecx
call fcn.00407200
add esp, 0xc
test eax, eax
jne 0x405703
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov byte [eax], 0
mov esp, ebp
pop ebp
ret
xor edi, edi
mov edx, dword [ebp + 8]
mov di, word [edx + 0x10]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + edi*4]
cmp eax, ecx
jne 0x405758
test byte [edx + 0x30], 0x10
je 0x405738
cmp dword [ebp + 0x14], ebx
ja 0x405725
mov ebx, dword [ebp + 0x14]
dec ebx
mov edi, dword [ebp + 0x10]
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4057a8
lea eax, [ebp - 0x158]
mov edx, dword [ebp + 8]
push eax
push edx
push ebx
mov eax, dword [ebp + 0x14]
push esi
dec eax
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00406f10
add esp, 0x18
jmp 0x4057a6
mov edx, dword [ebp + 8]
test byte [edx + 0x30], 0x10
je 0x40578a
cmp word [eax + 0xa], 0
jne 0x40578a
cmp dword [ebp + 0x14], ebx
ja 0x405771
mov ebx, dword [ebp + 0x14]
dec ebx
lea edx, [ebp - 0x158]
push edx
push eax
push ecx
mov eax, dword [ebp + 0x10]
push ebx
push esi
push eax
call fcn.00406e80
add esp, 0x18
jmp 0x4057a8
lea edx, [ebp - 0x158]
push edx
push ebx
push eax
push esi
mov eax, dword [ebp + 0x14]
dec eax
push eax
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004066b0
add esp, 0x1c
mov ebx, eax
mov ax, word [ebp - 6]
cmp ax, word [ebp - 0x150]
jne 0x4057e0
mov ax, word [ebp - 4]
cmp ax, word [ebp - 0x14e]
jne 0x4057e0
mov ax, word [ebp - 2]
cmp ax, word [ebp - 0xec]
jne 0x4057e0
mov ax, word [ebp - 0x12]
cmp ax, word [ebp - 0xea]
je 0x40588f
cmp dword [0x430270], 0
je 0x405834
lea eax, [ebp - 0x14]
mov ecx, dword [0x430270]
push eax
push ecx
call fcn.00414560
add esp, 8
mov ecx, dword [0x438608]
cmp dword [ebp - 0x14], ecx
jne 0x40580f
inc dword [0x43860c]
jmp 0x405834
push 0x438610
mov eax, dword [0x430270]
push eax
call fcn.00414400
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [0x43860c], 1
mov dword [0x438608], eax
lea esi, [ebp - 0x150]
mov edi, 0x4384e8
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xec]
mov edi, 0x43854c
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
cmp dword [0x430270], 0
je 0x40588f
dec dword [0x43860c]
jne 0x40588f
mov eax, 0x438608
test eax, eax
je 0x40587c
mov dword [0x438608], 0
push 0x438610
mov eax, dword [0x430270]
push eax
call fcn.00414420
add esp, 8
lea esi, [ebp - 0x150]
mov edi, dword [ebp + 0x18]
add edi, 8
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xec]
mov edi, dword [ebp + 0x18]
add edi, 0x6c
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x158], 0
je 0x4058c9
mov ecx, dword [ebp - 0x158]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
pop edi
pop esi
mov byte [ebx + eax], 0
pop ebx
mov esp, ebp
pop ebp
ret