Function at 0x4584f0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4aeb71
mov eax, dword fs:[0]
push eax
mov eax, 0x112b8
call fcn.0049e430
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x112b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x112cc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x112dc]
mov ebx, ecx
mov edi, edx
xor ebp, ebp
push ebx
lea ecx, [esp + 0x829c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
call fcn.0040e0b0
mov dword [esp + 0x112d4], ebp
push ebx
lea ecx, [esp + 0x6c]
call fcn.0040e0b0
mov bl, 1
mov byte [esp + 0x112d4], bl
push esi
push edi
lea ecx, [esp + 0x82a0]
call fcn.0042f020
mov eax, dword [str.fixed.]
mov cx, word [0x4b3938]
mov dl, byte [0x4b393a]
push edi
mov byte [esp + 0x82ad], bl
mov dword [esp + 0x108cc], eax
mov word [esp + 0x108d0], cx
mov byte [esp + 0x108d2], dl
call fcn.0044db30
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4585b8
lea edi, [esp + 0x108c8]
sub eax, ecx
mov esi, ecx
dec edi
jmp 0x4585d0
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4585d0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
lea eax, [esp + 0x108cc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0044e6c0
mov ecx, dword [str.rebuilt.]
mov edx, dword [0x4b392c]
mov al, byte [0x4b3930]
mov ebx, dword [esp + 0x28]
push ebx
mov dword [esp + 0x104cc], ecx
mov dword [esp + 0x104d0], edx
mov byte [esp + 0x104d4], al
call fcn.0044db30
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x458626
lea edi, [esp + 0x104c8]
sub eax, ecx
mov esi, ecx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x458640
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.0044df20
test al, al
jne 0x458674
push 0x4b1778
push ebx
call fcn.0044df20
test al, al
je 0x458686
push 0x4b1774
lea ecx, [esp + 0x104cc]
push ecx
call fcn.0044f530
push ebp
lea edx, [esp + 0x104cc]
push edx
call fcn.0044e6c0
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 + 0x108e0]
push edx
lea eax, [esp + 0x84]
push eax
push esi
call fcn.0042e4c0
test al, al
jne 0x458721
cmp byte [esp + 0x16], al
jne 0x4586ee
push 9
mov ecx, 0x4c9364
call fcn.00427c80
lea ecx, [esp + 0x108c8]
push ecx
mov ecx, 0x4c9364
call fcn.004283c0
mov bl, byte [esp + 0x16]
mov byte [esp + 0x112d4], 0
lea ecx, [esp + 0x68]
call fcn.00401ff0
mov dword [esp + 0x112d4], 0xffffffff
lea ecx, [esp + 0x8298]
call fcn.00401ff0
mov al, bl
jmp 0x458fca
lea edx, [esp + 0x108c8]
push edx
push 0x267
call fcn.0045bde0
push eax
lea eax, [esp + 0x10cd0]
push eax
call fcn.0049deb5
add esp, 0xc
lea ecx, [esp + 0x10cc8]
push ecx
call fcn.0047f870
lea edx, [esp + 0x68]
push edx
lea ebx, [esp + 0x829c]
call fcn.00457740
cmp eax, 2
jne 0x458775
lea ecx, [esp + 0x68]
call fcn.0042e7e0
jmp 0x458fa0
cmp eax, 1
jne 0x4587ba
lea ecx, [esp + 0x68]
call fcn.0042e7e0
cmp byte [esi + 0x28e8], 0
jne 0x4587c7
push 0x24
push 0x262
call fcn.0045bde0
push eax
push 0x275
call fcn.0045bde0
push eax
mov eax, dword [0x4db83c]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je 0x4587c7
jmp 0x458fa0
test eax, eax
jne 0x4587c7
lea ecx, [esp + 0x68]
call fcn.0042e890
push 0
push 0
push 0
lea ecx, [esp + 0x82a4]
call fcn.0042f0a0
mov edx, dword [esi + 0x28a4]
push 0
push 0x7fffffff
push 0x7fffffff
lea ecx, [esp + 0x22]
push ecx
push edx
push 0
lea eax, [esp + 0x104e0]
push eax
lea ecx, [esp + 0x84]
push ecx
push esi
call fcn.0042e4c0
test al, al
jne 0x45883e
cmp byte [esp + 0x16], al
jne 0x458836
push 9
mov ecx, 0x4c9364
call fcn.00427c80
lea edx, [esp + 0x104c8]
push edx
mov ecx, 0x4c9364
call fcn.004283c0
cmp byte [esp + 0x16], 0
sete bl
jmp 0x4586f2
lea ecx, [esp + 0x8298]
call fcn.0042ea60
mov esi, eax
lea eax, [esp + 0x104c8]
push eax
push 0x267
mov edi, edx
call fcn.0045bde0
push eax
lea ecx, [esp + 0x10cd0]
push ecx
call fcn.0049deb5
add esp, 0xc
lea edx, [esp + 0x10cc8]
push edx
call fcn.0047f870
push 0
lea ecx, [esp + 0x829c]
mov byte [esp + 0x1b], 0
call fcn.0040b1c0
test al, al
je 0x4588e4
cmp byte [esp + 0xf898], 0
mov ax, word [esp + 0xd1a4]
mov cx, word [esp + 0xd1a6]
mov byte [esp + 0x17], 1
mov word [esp + 0x4f74], ax
mov word [esp + 0x4f76], cx
je 0x4588e4
push 0x272
call fcn.0045bde0
push eax
lea edx, [esp + 0x82b3]
push edx
call fcn.00445390
add esp, 8
jmp 0x458fa0
mov ecx, dword [esp + 0x4f74]
xor eax, eax
and ecx, 0xffffff9f
push eax
mov word [esp + 0x4f78], cx
push 0x72
lea ecx, [esp + 0x70]
mov dword [esp + 0x4f84], 0
mov word [esp + 0x4f80], ax
call fcn.0040b8d0
push 0
push 0x73
lea ecx, [esp + 0x70]
call fcn.0040b8d0
mov edx, dword [esp + 0xf888]
mov eax, dword [esp + 0xf88c]
add edx, 0xd
push 0
adc eax, 0
push eax
push edx
lea ecx, [esp + 0x82a4]
call fcn.0042f0a0
movzx eax, word [esp + 0x4f76]
sub eax, 0xd
cdq
push edx
push eax
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x82a4]
call fcn.0042f4a0
push 0
push 0
push 0
lea ecx, [esp + 0x82a4]
call fcn.0042f0a0
mov ebp, 0x10000
push ebp
call fcn.0049df7f
mov ebx, eax
add esp, 4
mov dword [esp + 0x40], ebx
test ebx, ebx
jne 0x45899b
mov ecx, 0x4c9364
call fcn.004282a0
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov byte [esp + 0x112d4], 2
push 0x10000
xor ebp, ebp
push ebx
lea ecx, [esp + 0x82a0]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call fcn.0042f380
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.004a0640
mov esi, eax
add esi, ebx
movzx edx, byte [esi + 2]
lea eax, [esi + 2]
mov dword [esp + 0x4f8c], 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 + 0x4f92], ax
movzx ecx, byte [esi + 0x1b]
movzx edi, byte [esi + 0x1a]
shl ecx, 8
add ecx, edi
mov word [esp + 0x4faa], cx
cmp edx, 0x74
jne 0x458e52
mov edx, 0x1000
cmp ax, dx
jae 0x458e52
mov eax, dword [esp + 0x4faa]
dec eax
mov ecx, 0x3fe
cmp ax, cx
ja 0x458e52
movzx edx, byte [esi + 1]
movzx eax, byte [esi]
shl edx, 8
add edx, eax
mov word [esp + 0x4f88], dx
movzx ecx, byte [esi + 4]
movzx edx, byte [esi + 3]
shl ecx, 8
add ecx, edx
mov word [esp + 0x4f90], 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 + 0x4f94], 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 + 0x4f98], ebx
movzx eax, byte [esi + 0xf]
mov byte [esp + 0x4f9c], 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 + 0x4fa0], 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 + 0x4fa4], eax
mov dl, byte [esi + 0x18]
mov byte [esp + 0x4fa8], dl
movzx eax, byte [esi + 0x19]
mov byte [esp + 0x4fa9], 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 + 0x4f90]
shl ecx, 8
add ecx, edx
and eax, 0x100
mov dword [esp + 0x4fac], ecx
mov dword [esp + 0x50], eax
je 0x458bc6
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 + 0x4fb0], 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 + 0x4fb4], ebp
jmp 0x458bd8
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x4fb4], ebp
mov dword [esp + 0x4fb0], eax
push 1
push 0
push 0
push eax
call fcn.0049ea60
xor ecx, ecx
push 1
push ecx
add eax, edi
push ecx
adc edx, ecx
push ebp
mov dword [esp + 0x5c70], eax
mov dword [esp + 0x5c74], edx
call fcn.0049ea60
xor ecx, ecx
add eax, ebx
adc edx, ecx
mov dword [esp + 0x5c68], eax
mov dword [esp + 0x5c6c], edx
lea eax, [ecx + 0x20]
cmp word [esp + 0x50], cx
je 0x458c25
mov eax, 0x28
movzx edx, word [esp + 0x4faa]
push edx
add eax, esi
push eax
lea eax, [esp + 0x4fc0]
push eax
call fcn.0049e4e0
mov ecx, dword [esp + 0x4f9c]
add esp, 0xc
test ecx, 0x200
je 0x458ca7
lea ecx, [esp + 0x54]
call fcn.004255f0
lea eax, [esp + 0x4fb8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458c63
sub eax, edx
movzx edx, word [esp + 0x4faa]
push 0x400
inc eax
lea ecx, [esp + 0x53bc]
push ecx
sub edx, eax
push edx
lea eax, [esp + eax + 0x4fc4]
push eax
lea ecx, [esp + 0x4fc8]
push ecx
lea ecx, [esp + 0x68]
call fcn.00425610
mov ecx, dword [esp + 0x4f90]
jmp 0x458cb1
xor edx, edx
mov word [esp + 0x53b8], dx
mov bx, word [esp + 0x4faa]
mov edi, ecx
and edi, 0x400
je 0x458cef
mov edx, 0x20
test ecx, 0x100
je 0x458cd5
mov edx, 0x28
movzx eax, bx
add eax, edx
mov edx, dword [eax + esi]
mov dword [esp + 0x5bc4], edx
mov eax, dword [eax + esi + 4]
mov dword [esp + 0x5bc8], eax
movzx eax, word [esp + 0x4f92]
sub eax, 2
test eax, eax
jle 0x458e4e
test byte [esp + 0x4f90], 8
je 0x458d2d
mov eax, 0x20
test ecx, 0x100
je 0x458d1e
mov eax, 0x28
test di, di
je 0x458d26
add eax, 8
movzx ecx, bx
lea eax, [ecx + eax - 2]
mov edx, dword [esp + 0x4c]
push eax
push edx
push 0xffffffffffffffff
call fcn.0041fb60
not eax
mov word [esp + 0x767a], ax
lea eax, [esp + 0x68]
call fcn.00456fc0
test al, al
je 0x458e4e
movzx eax, word [esp + 0x4f92]
cdq
add eax, dword [esp + 0x18]
push 0
adc edx, dword [esp + 0x20]
lea ecx, [esp + 0x829c]
push edx
push eax
call fcn.0042f0a0
movzx eax, word [esp + 0x4faa]
mov byte [esp + eax + 0x4fb8], 0
call fcn.00465f40
cmp word [esp + 0x53b8], 0
jne 0x458da5
push 1
lea ecx, [esp + 0x4fbc]
push ecx
call fcn.0044e6c0
movzx edx, word [esp + 0x4f90]
mov ecx, dword [esp + 0x4f90]
and edx, 0xffffefff
or dword [esp + 0x20], edx
mov eax, 0x20
test ecx, 0x100
je 0x458dd0
mov eax, 0x28
test ecx, 0x400
je 0x458ddb
add eax, 8
mov ecx, dword [esp + 0x4faa]
lea edx, [esp + 0x4fb8]
add ecx, eax
push edx
mov word [esp + 0x4f96], cx
call fcn.00465470
push eax
push 0x268
call fcn.0045bde0
push eax
lea eax, [esp + 0x10cd0]
push eax
call fcn.0049deb5
add esp, 0xc
lea ecx, [esp + 0x10cc8]
push ecx
call fcn.0047f870
inc dword [esp + 0x24]
push 0
push 0x74
lea ecx, [esp + 0x70]
call fcn.0040b8d0
mov edx, dword [esp + 0x4f94]
push 0
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x82a4]
call fcn.0042f4a0
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 0x458ecb
jl 0x458e76
cmp eax, dword [esp + 0x38]
jae 0x458ecb
push 0
push 0xf000
push ebp
push eax
call fcn.004a0640
or eax, edx
jne 0x4589e0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
push eax
push edi
push esi
lea ecx, [esp + 0x82a4]
call fcn.0042f0a0
push 0x10000
push ebx
lea ecx, [esp + 0x82a0]
call fcn.0042f380
add esi, 0xf000
adc edi, 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
jmp 0x4589e0
test byte [esp + 0x20], 3
je 0x458ee4
mov ecx, dword [esp + 0x4f74]
or ecx, 1
mov word [esp + 0x4f74], cx
mov esi, dword [esp + 0x24]
test esi, esi
jle 0x458f3d
cmp byte [esp + 0x17], 0
jne 0x458f3b
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x28e8], 0
jne 0x458f3b
push 0x24
push 0x262
call fcn.0045bde0
push eax
push 0x273
call fcn.0045bde0
push eax
mov eax, dword [0x4db83c]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x458f3b
mov ecx, dword [esp + 0x4f74]
or ecx, 8
mov word [esp + 0x4f74], cx
test esi, esi
jne 0x458f59
push 0x274
call fcn.0045bde0
mov edx, dword [esp + 0x28]
push eax
push edx
call fcn.00445390
add esp, 8
jmp 0x458f8b
push 0
push 0
push 0
lea ecx, [esp + 0x74]
call fcn.0042f0a0
push 0
push 0x72
lea ecx, [esp + 0x70]
call fcn.0040b8d0
push 0
push 0x73
lea ecx, [esp + 0x70]
call fcn.0040b8d0
lea ecx, [esp + 0x68]
call fcn.0042e7e0
mov byte [esp + 0x112d4], 1
test ebx, ebx
je 0x458fa0
push ebx
call fcn.0049dbfd
add esp, 4
mov byte [esp + 0x112d4], 0
lea ecx, [esp + 0x68]
call fcn.00401ff0
mov dword [esp + 0x112d4], 0xffffffff
lea ecx, [esp + 0x8298]
call fcn.00401ff0
mov al, 1
mov ecx, dword [esp + 0x112cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x112b4]
xor ecx, esp
call fcn.0049dea6
add esp, 0x112c4
ret 4