Function at 0x4584d0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4af301
mov eax, dword fs:[0]
push eax
mov eax, 0x112d8
call fcn.0049ebb0
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x112d4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c03a0]
xor eax, esp
push eax
lea eax, [esp + 0x112ec]
mov dword fs:[0], eax
mov esi, dword [esp + 0x112fc]
mov ebx, ecx
mov edi, edx
xor ebp, ebp
push ebx
lea ecx, [esp + 0x82ac]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
call fcn.0040e130
mov dword [esp + 0x112f4], ebp
push ebx
lea ecx, [esp + 0x6c]
call fcn.0040e130
mov bl, 1
mov byte [esp + 0x112f4], bl
push esi
push edi
lea ecx, [esp + 0x82b0]
call fcn.0042f350
mov eax, dword [str.fixed.]
mov cx, word [0x4b3994]
mov dl, byte [0x4b3996]
push edi
mov byte [esp + 0x82bd], bl
mov dword [esp + 0x108ec], eax
mov word [esp + 0x108f0], cx
mov byte [esp + 0x108f2], dl
call fcn.0044daf0
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x458598
lea edi, [esp + 0x108e8]
sub eax, ecx
mov esi, ecx
dec edi
jmp 0x4585b0
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4585b0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
lea eax, [esp + 0x108ec]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0044e680
mov ecx, dword [str.rebuilt.]
mov edx, dword [0x4b3988]
mov al, byte [0x4b398c]
mov ebx, dword [esp + 0x28]
push ebx
mov dword [esp + 0x104ec], ecx
mov dword [esp + 0x104f0], edx
mov byte [esp + 0x104f4], al
call fcn.0044daf0
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x458606
lea edi, [esp + 0x104e8]
sub eax, ecx
mov esi, ecx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x458620
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x4b177c
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.0044dee0
test al, al
jne 0x458654
push 0x4b1778
push ebx
call fcn.0044dee0
test al, al
je 0x458666
push 0x4b1774
lea ecx, [esp + 0x104ec]
push ecx
call fcn.0044f4f0
push ebp
lea edx, [esp + 0x104ec]
push edx
call fcn.0044e680
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x28a4]
push ebp
push 0x7fffffff
push 0x7fffffff
lea eax, [esp + 0x22]
push eax
push ecx
push ebp
lea edx, [esp + 0x10900]
push edx
lea eax, [esp + 0x84]
push eax
push esi
call fcn.0042e7e0
test al, al
jne 0x458701
cmp byte [esp + 0x16], al
jne 0x4586ce
push 9
mov ecx, 0x4c93ac
call fcn.00427f90
lea ecx, [esp + 0x108e8]
push ecx
mov ecx, 0x4c93ac
call fcn.004286d0
mov bl, byte [esp + 0x16]
mov byte [esp + 0x112f4], 0
lea ecx, [esp + 0x68]
call fcn.00402010
mov dword [esp + 0x112f4], 0xffffffff
lea ecx, [esp + 0x82a8]
call fcn.00402010
mov al, bl
jmp 0x458faa
lea edx, [esp + 0x108e8]
push edx
push 0x267
call fcn.0045be10
push eax
lea eax, [esp + 0x10cf0]
push eax
call fcn.0049e635
add esp, 0xc
lea ecx, [esp + 0x10ce8]
push ecx
call fcn.0047f8e0
lea edx, [esp + 0x68]
push edx
lea ebx, [esp + 0x82ac]
call fcn.00457720
cmp eax, 2
jne 0x458755
lea ecx, [esp + 0x68]
call fcn.0042eb10
jmp 0x458f80
cmp eax, 1
jne 0x45879a
lea ecx, [esp + 0x68]
call fcn.0042eb10
cmp byte [esi + 0x28e8], 0
jne 0x4587a7
push 0x24
push 0x262
call fcn.0045be10
push eax
push 0x275
call fcn.0045be10
push eax
mov eax, dword [0x4db884]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je 0x4587a7
jmp 0x458f80
test eax, eax
jne 0x4587a7
lea ecx, [esp + 0x68]
call fcn.0042ebc0
push 0
push 0
push 0
lea ecx, [esp + 0x82b4]
call fcn.0042f3d0
mov edx, dword [esi + 0x28a4]
push 0
push 0x7fffffff
push 0x7fffffff
lea ecx, [esp + 0x22]
push ecx
push edx
push 0
lea eax, [esp + 0x10500]
push eax
lea ecx, [esp + 0x84]
push ecx
push esi
call fcn.0042e7e0
test al, al
jne 0x45881e
cmp byte [esp + 0x16], al
jne 0x458816
push 9
mov ecx, 0x4c93ac
call fcn.00427f90
lea edx, [esp + 0x104e8]
push edx
mov ecx, 0x4c93ac
call fcn.004286d0
cmp byte [esp + 0x16], 0
sete bl
jmp 0x4586d2
lea ecx, [esp + 0x82a8]
call fcn.0042ed90
mov esi, eax
lea eax, [esp + 0x104e8]
push eax
push 0x267
mov edi, edx
call fcn.0045be10
push eax
lea ecx, [esp + 0x10cf0]
push ecx
call fcn.0049e635
add esp, 0xc
lea edx, [esp + 0x10ce8]
push edx
call fcn.0047f8e0
push 0
lea ecx, [esp + 0x82ac]
mov byte [esp + 0x1b], 0
call fcn.0040b240
test al, al
je 0x4588c4
cmp byte [esp + 0xf8b8], 0
mov ax, word [esp + 0xd1c4]
mov cx, word [esp + 0xd1c6]
mov byte [esp + 0x17], 1
mov word [esp + 0x4f84], ax
mov word [esp + 0x4f86], cx
je 0x4588c4
push 0x272
call fcn.0045be10
push eax
lea edx, [esp + 0x82c3]
push edx
call fcn.0048d240
add esp, 8
jmp 0x458f80
mov ecx, dword [esp + 0x4f84]
xor eax, eax
and ecx, 0xffffff9f
push eax
mov word [esp + 0x4f88], cx
push 0x72
lea ecx, [esp + 0x70]
mov dword [esp + 0x4f94], 0
mov word [esp + 0x4f90], ax
call fcn.0040b950
push 0
push 0x73
lea ecx, [esp + 0x70]
call fcn.0040b950
mov edx, dword [esp + 0xf8a8]
mov eax, dword [esp + 0xf8ac]
add edx, 0xd
push 0
adc eax, 0
push eax
push edx
lea ecx, [esp + 0x82b4]
call fcn.0042f3d0
movzx eax, word [esp + 0x4f86]
sub eax, 0xd
cdq
push edx
push eax
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x82b4]
call fcn.0042f7d0
push 0
push 0
push 0
lea ecx, [esp + 0x82b4]
call fcn.0042f3d0
mov ebp, 0x10000
push ebp
call fcn.0049e6ff
mov ebx, eax
add esp, 4
mov dword [esp + 0x40], ebx
test ebx, ebx
jne 0x45897b
mov ecx, 0x4c93ac
call fcn.004285b0
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov byte [esp + 0x112f4], 2
push 0x10000
xor ebp, ebp
push ebx
lea ecx, [esp + 0x82b0]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call fcn.0042f6b0
sub esi, 0x20
sbb edi, ebp
mov dword [esp + 0x30], 0xf000
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
mov edx, dword [esp + 0x18]
push 0
push 0xf000
push ebp
push edx
call fcn.004a0e80
mov esi, eax
add esi, ebx
movzx edx, byte [esi + 2]
lea eax, [esi + 2]
mov dword [esp + 0x4f9c], edx
movzx ecx, byte [esi + 5]
mov dword [esp + 0x4c], eax
movzx eax, byte [esi + 6]
shl eax, 8
add eax, ecx
mov word [esp + 0x4fa2], ax
movzx ecx, byte [esi + 0x1b]
movzx edi, byte [esi + 0x1a]
shl ecx, 8
add ecx, edi
mov word [esp + 0x4fba], cx
cmp edx, 0x74
jne 0x458e32
mov edx, 0x1000
cmp ax, dx
jae 0x458e32
mov eax, dword [esp + 0x4fba]
dec eax
mov ecx, 0x3fe
cmp ax, cx
ja 0x458e32
movzx edx, byte [esi + 1]
movzx eax, byte [esi]
shl edx, 8
add edx, eax
mov word [esp + 0x4f98], dx
movzx ecx, byte [esi + 4]
movzx edx, byte [esi + 3]
shl ecx, 8
add ecx, edx
mov word [esp + 0x4fa0], cx
movzx edi, byte [esi + 0xa]
movzx eax, byte [esi + 9]
movzx ecx, byte [esi + 8]
movzx edx, byte [esi + 7]
shl edi, 8
add edi, eax
shl edi, 8
add edi, ecx
shl edi, 8
add edi, edx
mov dword [esp + 0x4fa4], edi
movzx ebx, byte [esi + 0xe]
movzx eax, byte [esi + 0xd]
movzx ecx, byte [esi + 0xc]
movzx edx, byte [esi + 0xb]
shl ebx, 8
add ebx, eax
shl ebx, 8
add ebx, ecx
shl ebx, 8
add ebx, edx
mov dword [esp + 0x4fa8], ebx
movzx eax, byte [esi + 0xf]
mov byte [esp + 0x4fac], al
movzx ecx, byte [esi + 0x13]
movzx edx, byte [esi + 0x12]
movzx eax, byte [esi + 0x11]
shl ecx, 8
add ecx, edx
movzx edx, byte [esi + 0x10]
shl ecx, 8
add ecx, eax
shl ecx, 8
add ecx, edx
mov dword [esp + 0x4fb0], ecx
movzx eax, byte [esi + 0x17]
movzx ecx, byte [esi + 0x16]
movzx edx, byte [esi + 0x15]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 0x14]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
mov dword [esp + 0x4fb4], eax
mov dl, byte [esi + 0x18]
mov byte [esp + 0x4fb8], dl
movzx eax, byte [esi + 0x19]
mov byte [esp + 0x4fb9], al
movzx ecx, byte [esi + 0x1f]
movzx edx, byte [esi + 0x1e]
movzx eax, byte [esi + 0x1d]
shl ecx, 8
add ecx, edx
movzx edx, byte [esi + 0x1c]
shl ecx, 8
add ecx, eax
mov eax, dword [esp + 0x4fa0]
shl ecx, 8
add ecx, edx
and eax, 0x100
mov dword [esp + 0x4fbc], ecx
mov dword [esp + 0x50], eax
je 0x458ba6
movzx eax, byte [esi + 0x23]
movzx ecx, byte [esi + 0x22]
movzx edx, byte [esi + 0x21]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 0x20]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
mov dword [esp + 0x4fc0], eax
movzx ebp, byte [esi + 0x27]
movzx edx, byte [esi + 0x26]
movzx ecx, byte [esi + 0x25]
shl ebp, 8
add ebp, edx
movzx edx, byte [esi + 0x24]
shl ebp, 8
add ebp, ecx
shl ebp, 8
add ebp, edx
mov dword [esp + 0x4fc4], ebp
jmp 0x458bb8
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x4fc4], ebp
mov dword [esp + 0x4fc0], eax
push 1
push 0
push 0
push eax
call fcn.0049f1e0
xor ecx, ecx
push 1
push ecx
add eax, edi
push ecx
adc edx, ecx
push ebp
mov dword [esp + 0x5c80], eax
mov dword [esp + 0x5c84], edx
call fcn.0049f1e0
xor ecx, ecx
add eax, ebx
adc edx, ecx
mov dword [esp + 0x5c78], eax
mov dword [esp + 0x5c7c], edx
lea eax, [ecx + 0x20]
cmp word [esp + 0x50], cx
je 0x458c05
mov eax, 0x28
movzx edx, word [esp + 0x4fba]
push edx
add eax, esi
push eax
lea eax, [esp + 0x4fd0]
push eax
call fcn.0049ec60
mov ecx, dword [esp + 0x4fac]
add esp, 0xc
test ecx, 0x200
je 0x458c87
lea ecx, [esp + 0x54]
call fcn.004258d0
lea eax, [esp + 0x4fc8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458c43
sub eax, edx
movzx edx, word [esp + 0x4fba]
push 0x400
inc eax
lea ecx, [esp + 0x53cc]
push ecx
sub edx, eax
push edx
lea eax, [esp + eax + 0x4fd4]
push eax
lea ecx, [esp + 0x4fd8]
push ecx
lea ecx, [esp + 0x68]
call fcn.004258f0
mov ecx, dword [esp + 0x4fa0]
jmp 0x458c91
xor edx, edx
mov word [esp + 0x53c8], dx
mov bx, word [esp + 0x4fba]
mov edi, ecx
and edi, 0x400
je 0x458ccf
mov edx, 0x20
test ecx, 0x100
je 0x458cb5
mov edx, 0x28
movzx eax, bx
add eax, edx
mov edx, dword [eax + esi]
mov dword [esp + 0x5bd4], edx
mov eax, dword [eax + esi + 4]
mov dword [esp + 0x5bd8], eax
movzx eax, word [esp + 0x4fa2]
sub eax, 2
test eax, eax
jle 0x458e2e
test byte [esp + 0x4fa0], 8
je 0x458d0d
mov eax, 0x20
test ecx, 0x100
je 0x458cfe
mov eax, 0x28
test di, di
je 0x458d06
add eax, 8
movzx ecx, bx
lea eax, [ecx + eax - 2]
mov edx, dword [esp + 0x4c]
push eax
push edx
push 0xffffffffffffffff
call fcn.0041fbc0
not eax
mov word [esp + 0x768a], ax
lea eax, [esp + 0x68]
call fcn.00456fa0
test al, al
je 0x458e2e
movzx eax, word [esp + 0x4fa2]
cdq
add eax, dword [esp + 0x18]
push 0
adc edx, dword [esp + 0x20]
lea ecx, [esp + 0x82ac]
push edx
push eax
call fcn.0042f3d0
movzx eax, word [esp + 0x4fba]
mov byte [esp + eax + 0x4fc8], 0
call fcn.00465f90
cmp word [esp + 0x53c8], 0
jne 0x458d85
push 1
lea ecx, [esp + 0x4fcc]
push ecx
call fcn.0044e680
movzx edx, word [esp + 0x4fa0]
mov ecx, dword [esp + 0x4fa0]
and edx, 0xffffefff
or dword [esp + 0x20], edx
mov eax, 0x20
test ecx, 0x100
je 0x458db0
mov eax, 0x28
test ecx, 0x400
je 0x458dbb
add eax, 8
mov ecx, dword [esp + 0x4fba]
lea edx, [esp + 0x4fc8]
add ecx, eax
push edx
mov word [esp + 0x4fa6], cx
call fcn.004654c0
push eax
push 0x268
call fcn.0045be10
push eax
lea eax, [esp + 0x10cf0]
push eax
call fcn.0049e635
add esp, 0xc
lea ecx, [esp + 0x10ce8]
push ecx
call fcn.0047f8e0
inc dword [esp + 0x24]
push 0
push 0x74
lea ecx, [esp + 0x70]
call fcn.0040b950
mov edx, dword [esp + 0x4fa4]
push 0
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x82b4]
call fcn.0042f7d0
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
add eax, 1
adc ebp, 0
cmp ebp, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
jg 0x458eab
jl 0x458e56
cmp eax, dword [esp + 0x38]
jae 0x458eab
push 0
push 0xf000
push ebp
push eax
call fcn.004a0e80
or eax, edx
jne 0x4589c0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
push eax
push edi
push esi
lea ecx, [esp + 0x82b4]
call fcn.0042f3d0
push 0x10000
push ebx
lea ecx, [esp + 0x82b0]
call fcn.0042f6b0
add esi, 0xf000
adc edi, 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
jmp 0x4589c0
test byte [esp + 0x20], 3
je 0x458ec4
mov ecx, dword [esp + 0x4f84]
or ecx, 1
mov word [esp + 0x4f84], cx
mov esi, dword [esp + 0x24]
test esi, esi
jle 0x458f1d
cmp byte [esp + 0x17], 0
jne 0x458f1b
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x28e8], 0
jne 0x458f1b
push 0x24
push 0x262
call fcn.0045be10
push eax
push 0x273
call fcn.0045be10
push eax
mov eax, dword [0x4db884]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x458f1b
mov ecx, dword [esp + 0x4f84]
or ecx, 8
mov word [esp + 0x4f84], cx
test esi, esi
jne 0x458f39
push 0x274
call fcn.0045be10
mov edx, dword [esp + 0x28]
push eax
push edx
call fcn.0048d240
add esp, 8
jmp 0x458f6b
push 0
push 0
push 0
lea ecx, [esp + 0x74]
call fcn.0042f3d0
push 0
push 0x72
lea ecx, [esp + 0x70]
call fcn.0040b950
push 0
push 0x73
lea ecx, [esp + 0x70]
call fcn.0040b950
lea ecx, [esp + 0x68]
call fcn.0042eb10
mov byte [esp + 0x112f4], 1
test ebx, ebx
je 0x458f80
push ebx
call fcn.0049e37d
add esp, 4
mov byte [esp + 0x112f4], 0
lea ecx, [esp + 0x68]
call fcn.00402010
mov dword [esp + 0x112f4], 0xffffffff
lea ecx, [esp + 0x82a8]
call fcn.00402010
mov al, 1
mov ecx, dword [esp + 0x112ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x112d4]
xor ecx, esp
call fcn.0049e626
add esp, 0x112e4
ret 4